Web lists-archives.org

Re: [Mingw-users] Using dbghelp.dll - problems with dbghelp.h




Doug Borter wrote:

> I discovered that g++ handles the code much better than gcc.

I really think this has more to do with g++ being more strict by
default. However gcc can be just as strict as g++ by suitable
choice of -W flags. I compile most of my C code with CFLAGS
set to

    -Wall -Wextra -Werror

See the gcc man page for the meanings of these flags.

In addition, there are a number of very subtle differences
between C and C++ that could easy cause you problems if you
try to compile C code with a C++ compiler.

Cheers,
Erik
-- 
-----------------------------------------------------------------
Erik de Castro Lopo
-----------------------------------------------------------------
"Imagine if every Thursday your shoes exploded if you tied them
the usual way.  This happens to us all the time with computers,
and nobody thinks of complaining." -- Jef Raskin

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users