[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: safer way to use gnulib
From: |
John W. Eaton |
Subject: |
Re: safer way to use gnulib |
Date: |
Tue, 16 Mar 2010 14:13:45 -0400 |
On 16-Mar-2010, Ben Abbott wrote:
| Better, but ...
|
| $ g++-4.2 -save-temps -DHAVE_CONFIG_H -I. -I.. -I/sw/lib/flex/include
-I/sw/include -O0 -g -m32 -I/sw/include/freetype2 -I/sw/include/qhull
-I/usr/include -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave
-I../liboctave -I. -I. -I/sw/lib/flex/include -I/sw/include -O0 -g -m32
-I/sw/include/freetype2 -I/sw/include/qhull -I/usr/include -I/sw/include -O0 -g
-m32 -D_THREAD_SAFE -D_REENTRANT -DHAVE_CONFIG_H -mieee-fp -I/sw/include
-I/sw/include/freetype2 -I/sw/include -I/usr/X11/include -Wall -W -Wshadow
-Wold-style-cast -Wformat -I/sw/include -O0 -g -m32 -D_THREAD_SAFE -D_REENTRANT
-D_THREAD_SAFE -pthread -I/sw/include -O0 -g -m32 -D_THREAD_SAFE -D_REENTRANT
-MT liboctinterp_la-sighandlers.lo -MD -MP -MF
.deps/liboctinterp_la-sighandlers.Tpo -c sighandlers.cc -fno-common -DPIC -o
.libs/liboctinterp_la-sighandlers.o
| sighandlers.cc: In function ‘void my_friendly_exit(const char*, int, bool)’:
| sighandlers.cc:132: warning: use of old-style cast
| sighandlers.cc:158: warning: use of old-style cast
| sighandlers.cc: In function ‘void sigchld_handler(int)’:
| sighandlers.cc:233: error: expected unqualified-id before ‘(’ token
| bens-macbook:src bpabbott$ ‘octave_interrupt_handler
octave_ignore_interrupts()’:
| sighandlers.cc:507: warning: use of old-style cast
| sighandlers.cc: In function ‘void install_signal_handlers()’:
| sighandlers.cc:647: warning: use of old-style cast
| bens-macbook:src bpabbott$ vi sighandlers.cc
We have the same problem with sigaddset, which is used in the
BLOCK_SIGNAL macro. So try undefining sigaddset just before any uses
of the BLOCK_SIGNAL macro. Does that help? I've posted a message
about this problem to the gnulib bug list.
jwe
Re: safer way to use gnulib, Jaroslav Hajek, 2010/03/16
Re: safer way to use gnulib, Ben Abbott, 2010/03/16
Re: safer way to use gnulib, Ben Abbott, 2010/03/16
Re: safer way to use gnulib, Ben Abbott, 2010/03/16
Re: safer way to use gnulib, Ben Abbott, 2010/03/16
Re: safer way to use gnulib, Ben Abbott, 2010/03/16