On Wed, Sep 18, 2002 at 01:27:09PM +0200, Ulrich Fahrenberg wrote: > On Wed, 18 Sep 2002, Dominik Vogt wrote: > > > ----------------------- warn.c ------------------- > > #include <stdio.h> > > main(const i, const int * const p) > > { > > char *c; > > > > switch (*p = p = *c) > > { > > case 0: > > printf("%p", c, p); > > } > > *c = &i; > > c = p; > > while (1 || (unsigned int)3 >= 0 || > > ((int)-1) == ((unsigned int)1)); > > > > return; > > } > > -------------------------------------------------- > > > So I ask everybody to review it and/or try to compile it > > I'm at work, SPARC Solaris 5.8. gcc complains a lot many times, but > compiles happily, as expected. But Sun's own proprietary forte-cc > fails to compile it.
Is that an ANSI C compiler? If it is, what problems does it have? Bye Dominik ^_^ ^_^ -- Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382 Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe -- Visit the official FVWM web page at <URL:http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm-workers" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]