develooper Front page | perl.perl5.porters | Postings from February 2008

[patch] perl.h:4076:7: warning: extra tokens at end of #else directive

Thread Next
From:
Jim Cromie
Date:
February 26, 2008 23:31
Subject:
[patch] perl.h:4076:7: warning: extra tokens at end of #else directive
Message ID:
47C51129.4080907@gmail.com

gcc doesnt seem to like

# else if (stuff)

In file included from numeric.c:28:
perl.h:4076:7: warning: extra tokens at end of #else directive
`sh  cflags "optimize='-O2 -g'" mathoms.o`  mathoms.c
           CCCMD =  cc -DPERL_CORE -c -DPERL_PATCHNUM=33379 -D_REENTRANT 
-D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector 
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/include/gdbm  -std=c89 -O2 -g -Wall -ansi -W -Wextra 
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat


attached fixes it.

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About