Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Code Warrior > Re: Command-lin...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 457 of 537
Post > Topic >>

Re: Command-line options for strict language conformance [repost]

by MW Ron <mwron@[EMAIL PROTECTED] > Jun 20, 2005 at 11:16 AM

In article <upednRBXJbe3gzffRVn-jg@[EMAIL PROTECTED]
>,
 "Jonathan Turkanis" <technews@[EMAIL PROTECTED]
> wrote:

>[I'm reposting this because my previous message appeared as a reply to
another
>message]
>
>Hi all,
>
>I'm trying to figure out how the command line options for strict ANSI
>conformance map to the options under "C/C++ Language" on the Target
Settings
>Window.
>
>Specifically, is it correct that:
>
>* "-ansi strict" is the same as "ANSI Strict"
>* "-stdkeywords" on is the same as "ANSI Keywords Only"
>* "-enum int" is the same as "Enums Always Int
>* "-iso_templates" on is the same as "ISO C++ Template Parser"

Yes

>If so, does this mean there is no IDE counterpart to "-strict on"?

I don't understand this one.

>Also, why is enum size tied to ANSI conformance? I know there are
requirements
>on the size of enums, but the standard doesn't require that enums always
have
>the size of int.

but the use and the way the library is built must be the same you do 
wish to remain the same through out a project with sources headers and 
libraries.   

>Finally, what's the relation between "-iso_templates" and the pragmas
>"parse_func_templ", "parse_mfunc_templ" and "warn_no_typename"?

These should be answered in the C Compilers Reference.

I see you found the codewarrior.windows newsgroup

Ron

-- 
Metrowerks Community Forum is a free online resource for developers 
to discuss CodeWarrior topics with other users and Metrowerks' staff
        --   http://www.metrowerks.com/community
 --

 Ron Liechty - MWRon@[EMAIL PROTECTED]
 - http://www.metrowerks.com
 




 2 Posts in Topic:
Command-line options for strict language conformance [repost]
"Jonathan Turkanis&q  2005-06-10 17:11:26 
Re: Command-line options for strict language conformance [repost
MW Ron <mwron@[EMAIL P  2005-06-20 11:16:19 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Sep 5 23:36:52 CDT 2008.