Lior Silberman <[EMAIL PROTECTED]> writes:

| Hello everyone,
| 
| I have two small problems compiling CVS.
| 
| 1. sigc++/thread.h doesn't include the declaration for struct timespec,
| 2. in filedlg.C there is an inline function (GroupCache::find) which isn't
| handled properly on compilation with -g.
| 
| Details:
| 
| I configure CVS with CXXFLAGS=-g (no -O), and --with-warnings so the 
| command is:
| 
| g++ -DHAVE_CONFIG_H -I. -I.. -isystem /usr/X11R6/include -g -ansi -W -Wall
| -Wno-return-type

Can you add -Winline also?

Also: we do not support compiles without optimizations. Gcc behaves strangely 
sometimes without -O and severeal errors are not reported.

Unless you have a very good reason you should always use -O.

        Lgb

Reply via email to