..this is annoying me

Using XCode 2.4 I have the following code:
int i;
for(i = 0; i < SOMETHING; i++)
That compiles just fine. I then shorten this to the more common:
for(int i = 0; i < SOMETHING; i++)
I get an error on that first line - something about C99. I went and checked the C99 spec and I should be able to declare my int inline of the "for" loop. Why does XCode throw an error here? This is perfectly valid C99.
Thanks for your help.

Make sure you're compiling to the C99 dialect. I
don't know about Xcode 2.4, but I know 2.3 uses GNU89
as the compiler default. The C Dialect build setting
is part of the Language collection.
Yes, this was the problem. The compiler is set to "default", however if I set it to "C99" this now works fine.
Thanks
iMac 20 inch (Intel) + MacBook 2.0ghz (White) Mac OS X (10.4.7)

Similar Messages

  • I can't connect to ad-hoc networks with my iPod touch 4g AND IT ****** ME OFF!! (running firmware 6.1.2) Please fix this extremely annoying issue ASAP!!

    I can't connect to ad-hoc networks with my iPod touch 4g AND IT ****** ME OFF!! (running firmware 6.1.2) Please fix this extremely annoying issue ASAP!!

    Try:
    - Powering off and then back on your router.
    - Anything else here
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    - Change the DNS to either Google's or Open DNS servers
    Public DNS — Google Developers
    OpenDNS IP Addresses
    - Try on another computer/network
    - Wait if it is an Apple problem

  • Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.

    Anyone else have the issue where, after the 8,3 upgrade, you cannot access more than 1 exchange account on your iPhone? This is annoying to me as I need to access 4 daily and cannot due to this error.
    The first one, my private home email, works fine. With the other 3, I get the message "Cannot get mail: The connection to the server failed"
    All were working fine before the 8.3 upgrade. I did try the old trick of making one minor change on the account and resaving, but that did not change anything. I even deleted my work account and re-entered it from scratch, but again, sadly, no luck. For the time being, I am successfully getting the email via IMAP, but this ***** compared to exchange. Anyone have any idea what is happening or if a fix is in the works?

    Well, the one set up on exchange 2k3 is now working fine, although no changes were made on either the iPhone or the exchange side, so that's fun, but it still is throwing errors when connecting to the other 2 exchange accounts. The common elements are that both non-functioning exchange accounts are google apps for business accounts. So is one of the ones that's working, by the way. The settings on both accounts are the same as the one that's working, and both worked fine before the 8.3 upgrade. I have no issue accessing both of these accounts on my ipad which is currently on 8.2.x. If it's not the iphone OS at fault, I'm at a loss as to what it could be.

  • How do I stop this extremely annoying noise?

    Whenever I record a movie in imovie with my built-in isight camera and built-in microphone, there is this incredibly annoying background noise - a fast beeping that almost seems to represent the cadence of the frame rate. I thought it was some kind of tool but when I save the event and play it in quicktime on its own, the beeping remains!!! Its killing me. Please help me make it stop.
    I apologize if this is a topic that has already been covered, I'm not sure how to find out if it has.

    Mate, I HIGHLY, HIGHLY doubt that the hum of my computer is the cause of this noise. The volume of the noise is significant enough to be a major issue. It is not a light static or low-level humming. It is fast beep, going off at a rate of about 25 per second. If it were part of an ichat or phone call the average person would not tolerate the sound and think there is an error. Plus, the noise is sharp, clear, rhythmic, and unheard in any other situation but this use of imovie.
    Thanks for the input, mate, but the likelihood this explanation is correct is extremely low. Anybody else with an explanation/solution that doesn't involve buying a replacement microphone?

  • Hi, I tried to change my security questions on the internet. But, for some reason, the button to change them is not there! This is annoying as I have recently bought an iTunes voucher and now I cannot buy any new apps. Can anybody please help me!!

    Hi, I tried to change my security questions on the internet. But, for some reason, the button to change them is not there! This is annoying as I have recently bought an iTunes voucher and now I cannot buy any new apps. Can anybody please help me!!

    Security questions:
    https://discussions.apple.com/docs/DOC-4551

  • Very time I click on Firefox, a check for add-on compatibility runs also after a short time the screen fills with Firefox Android add; this is annoying. How

    The latest Mozilla update change the way my computer starts when I click on Mozilla on the desktop. The first think that happens is that a small window appears and tells me it is checking for add-ons compatibility. After what seems like a long period, the screen fills with some sort of Mozilla about Android and Mozilla. I then have to x this to get to my email page. This is annoying. How do I fix this?

    [[Firefox says it's just updated every time it starts - how to fix]]
    It sounds like this issue.

  • How do I get rid of the software update notification that keeps popping up top right of screen? I want to manage what and when I update and I just don't want some updates. I find this really annoying as all I can do to get rid of it is remind me tomorrow.

    I recently upgraded to OS mavericks and really wish I hadnt. Just more problems to fix. Little anoying bugs
    Upon sending mail I always get a pop up box saying unable to contact server so I have to click okay.
    Often I think an email has gone - only to find it stuck in drafts days later. This is extremely annoying ... mostly I have to wait around and after maybe 5 minutes check my sent box just to be sure it actually went. Even though I heard the whoosh ... doesn't seem to mean it really did go.
    Some of my photos in Iphoto just have a big exclamation mark when I try to open them up - any ideas how to fix this one.

    etresoft  a long time contributer to Apple Support Communities wrote a very useful app he called etrecheck which helps in diagnosing many problems caused by third party installs etc.. Go to his website, read his information and from there download and run the program according to his instructions
    http://www.etresoft.com/etrecheck
    Post the results back here
    Pete

  • How do you reset or find your security question answers? I dont have the option to send a rescue email in manage your account, and i cant find a fix! I have tried so many things.!! Help this is annoying because i cant get anything from the appstore

    I. Forgot the answers to my apple id security questions. I cant buy anything from the app store. I have tried manage your account and tried to send a rescue email but i dont have the option. This is so annoying and i have tried many things, help!

    Have you tried contacting the owner of the iPhone?

  • Why do my tabs become tiled windows without input from me? I have to double-click the tab to make the windows disappear, sometimes more than once. This is annoy

    This happens when I have several tabs. I'll click another tab and a tiled window appears with one window being the page of the tab and the other one the tab beside it. It's become quite annoying.

    Hello,
    In order to better assist you with your issue please provide us with a screenshot. If you need help to create a screenshot, please see [[How do I create a screenshot of my problem?]]
    Once you've done this, attach the saved screenshot file to your forum post by clicking the '''Browse...''' button below the ''Post your reply'' box. This will help us to visualize the problem.
    Thanks!
    Curtis

  • Wow i need help with my itunes. this is annoying.

    i reformatted my comp and and re instralled itunes.
    and i plugged in my ipod and it doesnt show any syncing thing at the top, to let me know its putting music onto my ipod. also, 2pac,8ball mjg, 311 and 50 cent, are all on the bottom of my music.....now why the **** is my ipod not showing me its syncing music, and why the **** is 90 percent of my music alphabateized and then a few artists are all over the place? how do i fix this? why the heck is "A dozen furies" in the D section? seriously. this is just stupid+ annoying.

    Huh. It works OK for me. Maybe the iTunes > Help > sort directions explain it better:
    +*Sorting items in your library or a playlist*+
    +You can sort the items in your library or a playlist by any of the displayed columns. For example, you could group items in your library that match a particular characteristic (for example, songs in the Rock genre or songs that were saved as AAC).+
    +You can also enter customized sorting criteria for items. For example, you could set up iTunes to sort songs by an artist's last name instead of the first.+
    +Here are ways to sort songs in your library or playlist:+
    +To sort the list by a column, click the column heading. For example, if you want to sort the list by album title, click the Album heading.+
    +Tip: If you don't see the column heading you're looking for, right-click a column heading to see a list of columns you can view. Select an item (so that it has a checkmark next to it) to make it visible or deselect an item to remove it.+
    +To reverse the sort order, click the triangle that appears when the column is selected.+
    +To return to the previous order of songs in a playlist, click the leftmost column heading (above the numbers) that shows the play order.+
    +To customize sorting criteria, choose an item or items, choose File > Get Info, click Sorting, and enter the text you want to sort by+.
    +You can also scan through all the artists or albums in your music library by selecting an item below Library and clicking the Browse button (it looks like an eye). If you don't see the Artist and Album panes, click Browse again.+

  • Hi, my name is Amit, my hot corners stop working after some time. Have to go to mission control to reset them, however they stop again after some time. This is annoying. Can someone please assist to solve this problem? Thanks Amit.

    Hi my name is Amit, after upgrading to OS X Maverick I often have problem of my Hot corners stop working after a short period of time. I have to go to mission control and have to reset them for them to start working again. However this is temparory and they stop working again and this is quite annoying. Can someone suggest a cure to this problem please. I will be grateful. Thanks Amit.

    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Preferences/com.apple.dock.plist
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Desktop, leaving the window open. Log out or restart the computer and test. If there's no change, put the item you moved back where it was, overwriting the one that may have been created in its place. Log out again. Otherwise, delete the item you moved.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • The front facing camera of the iPhone 5 automatically flips/mirrors the image right after it is taken. This is annoying since I would like for the image to look the same way it did while it was captured is there a way to stop this feature?

    Right after I take a picture using the camera which is made to face you the image is flipped as soon as it saves to my library. Is there a fix for this? Ive read a few other posts saying apple intended for the software to do this but I was wondering if there was an option to turn this feature off.

    I actually tried the steps below due to the error -5000 I had encountered during the previous tries updating my IOS to 5.1.1
    "Perform a normal sync and check your iTunes to make sure everything was synced in the right places like the tabs at the top of your "summary" when you plug in your iPhone to iTunes.  If everything is there and all the right boxes are checked for the stuff you want to save, then put your phone into recovery mode by keeping it plugged into your computer with iTunes still up and running. Next you want hold down the power button AND the home key button (the big button on the bottom part of your screen) AT THE SAME TIME. Your phone will go thru 4 different screens before you
    Can let them go.  U will see your normal power off slider screen, then a black screen, then a black screen with an apple logo, then finally a screen with the iTunes logo and a picture of a sync cable below it. Once you see this screen LET BOTH BUTTONS GO but not before you see this screen.  Your computer will tell you that it has detected an iPhone in recovery mode, say ok.  Then hit the restore button on your iTunes summary screen, it should then ask you if you want to restore from a backup and update, say yes.... And at the end of its restoring and uploading you should have iOS 5!!"
    Then it proceeded to a reactivation process... =(

  • In the middle of a session foxfire comes up not responding a lot of the time if i am on the same page 5 minutes or more then i have trouble with get out [end now] some times i have to cut computer off manually please help this is annoying

    it does this when i stay on the page 5 minutes or and try to scroll up or down it shows 'not responding' then the boxs comes up with 'end now' or cancel'[return to windows to check on program] then it want let me end now display at program not responding at down i have to turn off manually this is windows xp compaq presario 2002 year model telphone hi speed internet provider google is search engine

    I personally like to Crop, and then use PNG for my screen-caps. If I need more images, say to show other Palettes, etc., then I do one each for those shots.
    We see a lot of full-screen caps posted, where aggressive JPEG is used, and nothing can be read. That is especially true with images, like Adobe Encore's Flow-chart, where there is a lot of text and linking being shown.
    Just my personal preferences.
    Hunt

  • My firefox is no longer asking me to save and quit (since I upgraded to the newest version). This is annoying and I'm * I have to restore my sessions. That is what I HATE about Safari. I want my prompt back. What do I Do ?

    I'm running Snow Leopard on an iMac
    ''(Edited for language - TonyE)''

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • How do i stop it automatically switching to new tab, the setting is not ticked in options. This is annoying when opening several tabs.

    Although I do not have 'switch to new tab immmediately' ticked, when I ask to open in new tab it switches immediately. This is a problem as I open several tabs from my main page and don't want to go to them at once, I'll look at them in order as I need them. Since an update I now have it switching to the opened tab, and I have to keep flicking back to the main tab. It's giving me repetitive strain problems having to keep clicking the mouse more than necessary. It's an option in the settings, I'd like it to rmain that way. I seriously don't want to keep having to go back to my main page every time I want to open a new tab. Could you make it as it was before please, it was super then. Many thanks in advance. :-)

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • TS4268 My gal tries to FaceTime me and nothing comes though to tell me she is...she sends me a message to tell me then I FaceTime her back....this is annoying me....can you help?

    My Gal tries to face time me and nothing comes through to tell me she is doing this period. She then sends a message to tell me. I then have to FaceTime her back. Can somebody help me with this?

    Are you using the correct email address that you told her to FaceTime you at in the settings? In other words, is she using the email address or iPhone number in Settings>FaceTime>You can be reached by FaceTime at on your iPad?

Maybe you are looking for

  • Noted items & spl gl a/c

    hi sap guru's what is noted items what purpose use the noted items. what is the difference between noted items and spl g/l a/c can anybody explin breafly. have any configured steps on noted items . mail id [email protected]

  • Loaded Infoobject Text  and it returned all "#"

    Hi BW guys, I encountered a strange text issue. In BW QA envoriment all the Text Datasources without a language key  loaded all text as "#" in PSA. Meanwhile, the datasource with language key works well. In ECC QA side I could extract correct text wi

  • QUES ON INTERCOMPANY SALES

    i have two ques 1) while creating a  sales order , how we can find out it is an intercompany sales or 2) methods of deleting a sales order 3) table name - delivery item categories 4) which invoice will go to profit centre in intercompany thank you in

  • [Flash Pro] Best way to create multi FLA/SWF AIR project

    So I have my main FLA all setup as an AIR project. Great. Now I want to create another SWF which is called Panel. I've got a separate FLA which is coded to work with the main FLA/AIR project, I include this SWF in the "included files" of the main AIR

  • Scheduled CUIC Reports losing filtering criteria.

    CUIC 10.01 ICM 9.0 We have a reoccurring issue where some scheduled reports fail with this message: "SCHEDULED REPORT EXECUTION FAILED - DATA-PROCESSING-CENTER-ERROR" When I access the report, the filtering criteria is missing.  Once I define the cri