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


|