--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11
21:14 ---
Well open a new bug for that and/or figure out what the options do, all of the
gcc options are
documented and if they are not, then that is a bug.
--
What|Removed |Adde
--- Additional Comments From jeff at connectrf dot com 2005-01-11 21:03
---
Well that makes sense..
Does anyone have an example of the compiler options to port from VC++ to GCC? A
nice Crossreference table would be just dandy.
--
What|Removed |Added
--- Additional Comments From dje at gcc dot gnu dot org 2005-01-11 20:29
---
Jeff,
The problem does not have to be the source code or the compiler, it can be the
way that you are invoking the compiler. I do not understand why you are
invoking the compiler with -M -fpreprocessed -- you
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11
20:26 ---
Considering -M does not actually compile your code, no I am not hard to
convince.
Read the manual for gcc and you will see -M does not compile the code at all,
only gets the dependices
for include files.
--- Additional Comments From jeff at connectrf dot com 2005-01-11 20:23
---
Andrew,
You are sure hard to convince...
Where did the error go?
Full rebuild of configuration Release for project Auth
make -k clean all
rm -rf authtest.o authtestdlg.o stdafx.o authtes
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11
20:07 ---
../AuthTest.h:7:10: #error include 'stdafx.h' before including this file for PCH
See that error, in VC++ (which is not usually a compand line driven) you have a
PCH which use, do "-
include stdafx.h" on th
--- Additional Comments From jeff at connectrf dot com 2005-01-11 20:03
---
Andrew,
If I take the exact same code, and compile it with VC++ it does not complain!
However, gcc the ONLY thing that has changed, will not compile code that works!
Why? Old wise one, must one rewrite entrie
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11
19:31 ---
This is your bug and not gcc bug, figure out why you are getting the following
error:
../AuthTest.h:7:10: #error include 'stdafx.h' before including this file for PCH
The reason why it works just fine for
--- Additional Comments From jeff at connectrf dot com 2005-01-11 19:24
---
Andrew, let me try again. BTW I have looked at the man pages for both gcc and
ld, I must say they are clear as mud, but then most are.
If I take the defaults, in CDT, I receive the errors attached below. If I
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-11
18:55 ---
I have no idea what option you are talking about?
Look at the info/man pages of ld and gcc.
--
What|Removed |Added
---
--- Additional Comments From jeff at connectrf dot com 2005-01-11 17:44
---
Andrew,
What compiler option flag do I need to set for forward Declartions then? _M was
taking care of those errors however it is not producing the .o? Is there a
Crossrefrence of compiler options between MC V
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-10
19:09 ---
Invalid, -M -o t, ouputs the depenciences in t. So again this is not a bug in
the compiler but in the
makefile.
--
What|Removed |Added
--
What|Removed |Added
Component|c++ |driver
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19281
13 matches
Mail list logo