| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Apr 28, 2006, at 4:33 AM, Peter Lau wrote: I have a .cpp file but I would like to use the C99 named initialization for structs syntax, can I do that? Try the "C Language Dialect" build setting. If you want just this .cp file to be C99, you can set its File Type in Get Info to sourcecode.c instead of sourcecode.cpp.cpp. You may also need to set the file's per-file flags (in the Build tab) to -std=c99 Chris |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden This email sent to email@hidden
| References: | |
| >named initialization of structs in a .cpp file (From: Peter Lau <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.