On Fri, Jul 16, 2004 at 10:28:43AM +1000, Scott Smedley wrote: > Hi Dominik, > > > When I click on any button, it ends up using the > > standard colour set until the mous is moved. That has nothing to > > do with the PressedColorset. > > Ok, this must be a bug - I will check/fix tonight. > > > Another problem that is going to become worse in the future is > > code that is correct by the C99 standard but not by C89 > > (specifically C++ style comments with // and declarations in the > > body of code blocks, e.g. { int i; i=1; intj; }). Is there an > > option to tell gcc to adhere to the C89 standard? > > gcc -std=c89 ... > > This works for me. (I'm using gcc 3.2.2) It detects both '//' & > loop declarations & reports them as errors. > > Very handy, as I'm sure I would otherwise let '//' comments slip > through ocassionally. It's too ingrained! :)
Unfortunately, my gcc (2.95.4) fails to compile some of its own header files with -std=c89, e.g. sys/ipc.h :-P Ciao Dominik ^_^ ^_^ -- Dominik Vogt, [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED]
pgpUu6i09F8Uy.pgp
Description: PGP signature