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


Programming > C++ > Re: compilation...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 10 Topic 45793 of 46738
Post > Topic >>

Re: compilation error with CC

by James Kanze <james.kanze@[EMAIL PROTECTED] > May 9, 2008 at 02:31 AM

On May 7, 2:48 pm, "Victor Bazarov" <v.Abaza...@[EMAIL PROTECTED]
> wrote:

    [...]
> Uh...  How to break it to ya...  There are _literally_ scores
> of different compilers out there.  "C++ developers over here"
> use all of them.  Half of those compilers have their main
> module named 'cc' (or something very close).

Actually, I don't know of any C++ compilers that are invoked by
cc: I've got CC, g++ and cl here, with xlC and acc on some
machines I've used in the past.  Under Unix, cc is classically
used to invoke the C compiler, so can't be the C++ compiler.

(As for the rest, of course...  We need a minimum compilable
example.  I don't know of any compiler that just randomly
defines macros, so obviously, it's being defined somewhere.
Also, of course, using conditional compilation to change the
layout of a structure is just looking for trouble.  And is
totally unmaintainable.)

--
James Kanze (GABI Software)             email:james.kanze@[EMAIL PROTECTED]
 en informatique orient=E9e objet/
                   Beratung in objektorientierter Datenverarbeitung
9 place S=E9mard, 78210 St.-Cyr-l'=C9cole, France, +33 (0)1 30 23 00 34
 




 10 Posts in Topic:
compilation error with CC
Rahul <sam_cit@[EMAIL   2008-05-07 05:24:44 
Re: compilation error with CC
"Victor Bazarov"  2008-05-07 08:36:54 
Re: compilation error with CC
Rahul <sam_cit@[EMAIL   2008-05-07 05:43:34 
Re: compilation error with CC
"Victor Bazarov"  2008-05-07 08:48:15 
Re: compilation error with CC
Rahul <sam_cit@[EMAIL   2008-05-07 05:55:31 
Re: compilation error with CC
"Victor Bazarov"  2008-05-07 10:19:04 
Re: compilation error with CC
Ron Natalie <ron@[EMAI  2008-05-07 10:25:49 
Re: compilation error with CC
"Victor Bazarov"  2008-05-07 10:31:07 
Re: compilation error with CC
tragomaskhalos <dave.d  2008-05-07 10:00:46 
Re: compilation error with CC
James Kanze <james.kan  2008-05-09 02:31:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Tue Jul 8 23:58:22 CDT 2008.