Hi Tim,

> I currently see during MinGW build:
> 
>   CC       fatal-signal.lo
> In file included from /usr/share/mingw-w64/include/signal.h:10:0,
>                  from ./signal.h:52,
>                  from fatal-signal.c:26:
> ./signal.h:593:1: error: expected identifier or '(' before numeric constant
>  _GL_FUNCDECL_SYS (pthread_sigmask, int,
>  ^
> 
> Any idea what is going on here, it's in the gnulib area ?

The usual tips for such an error:

1) Does it still occur after you did "make distclean", then reconfigure
   and "make"?

2) Use CC="gcc -no-integrated-cpp" to get higher quality diagnostics from GCC.

3) Run "make V=1" to see the actual compilation command line. [1]
   Then modify that command line to add -E instead of -c -o options, and
   redirect that preprocessor output to a file. Analyze it.

Bruno

[1] 
https://www.gnu.org/software/automake/manual/html_node/Automake-Silent-Rules.html


Reply via email to