Re: Sticking with Visual C++ Version 6



pkirk25 wrote:
I've been playing with C in the evenings for a week now and any
problems I have will not be solved by moving to a newer compiler.

Thanks for the advice and for the chance to try out a few different
options.

You seemed to look more for an IDE than another compiler.

One recommendation: Turn up the warning level and disable MS extensions.
If your programme does not do what you expect but the compiler issues
no diagnostics, try compiling with gcc on a reasonable warning level,
e.g.
gcc -std=c89 -pedantic -Wall -O myprog.c -c
(the -c will suppress linking).
You can do this either using mingw (which is what Bloodshed uses IIRC)
or via Cygwin (installing Cygwin just for gcc may a little bit much,
though).
Some problems will not be caught by the above; then you can use splint
or other lint programmes.


Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
.



Relevant Pages

  • Re: Whats the story with the "end of XP"?
    ... Support gives them access to the larger body ... The same compiler suite may be "best" in both ... In the case of ByteCraft compilers, you are truly expert in your field, you work closely and rapidly with customers if there are any issues, and you have top class testing and quality control. ... understanding the inner workings of a relatively simple compiler like GCC ...
    (comp.arch.embedded)
  • [RFC][PATCH-2.6] Clean up and merge compiler-*.h
    ... the kernel headers in include/linux to include/linux-abi. ... * Common definitions for all gcc versions go here. ... -/* Some compiler specific definitions are overwritten here ...
    (Linux-Kernel)
  • Re: LPC900/80C51 Compiler Toolchain
    ... >> supported by GCC, and so they invest. ... > if they already have their in-house compiler. ... one of the main companies in the Symbian consortium ... vendor to provide a good compiler for Atmel AVRs and eventually became ...
    (comp.arch.embedded)
  • Lib X11 compile problem /Xlib.h:3573: error: syntax error before "_X_SENTINEL"
    ... checking for gcc... ... checking for C compiler default output file name... ... checking how to recognise dependent libraries... ...
    (comp.os.linux.x)
  • make error compiling sysbench for MySQL
    ... checking for gcc... ... checking for C compiler default output file name... ... checking libaio.h usability... ... checking libaio.h presence... ...
    (linux.redhat)