bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m4-1.4q on Tru64Unix


From: Martin MOKREJŠ
Subject: Re: m4-1.4q on Tru64Unix
Date: Thu, 9 Oct 2003 16:37:28 +0200 (CEST)

On Thu, 9 Oct 2003, Akim Demaille wrote:

>
>  > Martin MOKREJ? wrote:
>  >> configure.ac:241: warning: gl_CHECK_HEADER_wcar_ is m4_require'd but 
> isnot m4_defun'd
>
>  > comes from gnulib/acm4/regex.m4:
>
> Nope: read better: gl_CHECK_HEADER_wcar_ says m4.  GNU M4 1.4's
> translit is buggy.  Use this better GNU M4 1.4 instead:
>
>          http://www.lrde.epita.fr/~akim/download/m4-1.4.tar.gz
>

OK, I installed this and resynced cvs, built latest m4

I get get around the problem below only with gcc. Can you change the code
somehow?

source='perl.c' object='perl_la-perl.lo' libtool=yes 
depfile='.deps/perl_la-perl.Plo' tmpdepfile='.deps/perl_la-perl.TPlo' 
depmode=tru64 /bin/bash ../gnulib/config/depcomp /bin/bash ../libtool 
--mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I.. -I../gnulib 
-I../gnulib -I../m4 -I../m4  -I/software/@sys/usr/includde 
-I/usr/local2/include -I/usr/local/include -I/usr/local2/openssl/include `perl 
-MExtUtils::Embed -e ccopts` -O2 -arch ev56 -c9x -c -o perl_la-perl.lo `test -f 
'perl.c' || echo './'`perl.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gnulib -I../gnulib -I../m4 
-I../m4 -I/software/@sys/usr/include -I/usr/local2/include -I/usr/local/include 
-I/usr/local2/openssl/include -pthread -std -fprm d -ieee 
-I/software/@sys/usr/include -I/software/@sys/usr/BerkeleyDB-4.1.25/include 
-I/usr/local2/include -DLANGUAGE_C 
-I/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld/CORE -O2 
-arch ev56 -c9x -c -MD perl.c  -DPIC -o .libs/perl_la-perl.o
cc: Warning: ../gnulib/m4/stdbool.h, line 85: The redefinition of the macro 
"bool" conflicts with a current definition because the replacement lists 
differ.  The redefinition is now in effect. (macroredef)
#define bool _Bool
-------------^
cc: Warning: ../m4/system.h, line 152: The redefinition of the macro "DELETE" 
conflicts with a current definition because the number of parameters is 
different.  The redefinition is now in effect. (macroredef)
#define DELETE(Expr)    ((Expr) = (free (Expr), (void *) 0))
---------------^
cc: Error: ../m4/hash.h, line 39: Error parsing parameter list. Found 
"__builtin_try" when expecting one of: ",", ")". (notexpecting)
typedef int     m4_hash_cmp_func  (const void *key, const void *try);
----------------------------------------------------------------^
cc: Error: ../m4/hash.h, line 59: Error parsing parameter list. Found 
"__builtin_try" when expecting one of: ",", ")". (notexpecting)
extern int      m4_hash_string_cmp  (const void *key, const void *try);
------------------------------------------------------------------^
cc: Error: ../m4/hash.h, line 44: In this declaration, "m4_hash_cmp_func" does 
not name a type. (nottypedef)
                                 m4_hash_cmp_func *cmp_func);
---------------------------------^



source='perl.c' object='perl_la-perl.lo' libtool=yes 
depfile='.deps/perl_la-perl.Plo' tmpdepfile='.deps/perl_la-perl.TPlo' 
depmode=tru64 /bin/bash ../gnulib/config/depcomp /bin/bash ../libtool 
--mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I.. -I../gnulib 
-I../gnulib -I../m4 -I../m4  -I/software/@sys/usr/includde 
-I/usr/local2/include -I/usr/local/include -I/usr/local2/openssl/include `perl 
-MExtUtils::Embed -e ccopts` -O2 -arch ev56 -std1 -c -o perl_la-perl.lo `test 
-f 'perl.c' || echo './'`perl.c
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I.. -I../gnulib -I../gnulib -I../m4 
-I../m4 -I/software/@sys/usr/include -I/usr/local2/include -I/usr/local/include 
-I/usr/local2/openssl/include -pthread -std -fprm d -ieee 
-I/software/@sys/usr/include -I/software/@sys/usr/BerkeleyDB-4.1.25/include 
-I/usr/local2/include -DLANGUAGE_C 
-I/software/@sys/usr/lib/perl5/5.8.1/alpha-dec_osf-thread-multi-ld/CORE -O2 
-arch ev56 -std1 -c -MD perl.c  -DPIC -o .libs/perl_la-perl.o
cc: Warning: ../gnulib/m4/stdbool.h, line 85: The redefinition of the macro 
"bool" conflicts with a current definition because the replacement lists 
differ.  The redefinition is now in effect. (macroredef)
#define bool _Bool
-------------^
cc: Warning: ../m4/system.h, line 152: The redefinition of the macro "DELETE" 
conflicts with a current definition because the number of parameters is 
different.  The redefinition is now in effect. (macroredef)
#define DELETE(Expr)    ((Expr) = (free (Expr), (void *) 0))
---------------^
cc: Error: ../m4/hash.h, line 39: Error parsing parameter list. Found 
"__builtin_try" when expecting one of: ",", ")". (notexpecting)
typedef int     m4_hash_cmp_func  (const void *key, const void *try);
----------------------------------------------------------------^
cc: Error: ../m4/hash.h, line 59: Error parsing parameter list. Found 
"__builtin_try" when expecting one of: ",", ")". (notexpecting)
extern int      m4_hash_string_cmp  (const void *key, const void *try);
------------------------------------------------------------------^
cc: Error: ../m4/m4module.h, line 47: Missing type specifier or type qualifier. 
(missingtype)
  bool      groks_macro_args, blind_if_no_args;
--^
cc: Info: ../m4/m4module.h, line 47: The _Bool keyword is not supported in this 
language mode.  It will be treated as an identifier in this compilation. 
(boolna)
  bool      groks_macro_args, blind_if_no_args;
--^
cc: Error: ../m4/m4module.h, line 84: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool         m4_bad_argc       (m4 *, int, m4_symbol_value **,
-------^
cc: Error: ../m4/m4module.h, line 86: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool         m4_numeric_arg    (m4 *, int, m4_symbol_value **,
-------^
cc: Error: ../m4/m4module.h, line 90: Ill-formed parameter type list. 
(parmtyplist)
                                       bool);
---------------------------------------^
cc: Error: ../m4/m4module.h, line 133: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
m4_context_field_table
^
cc: Error: ../m4/m4module.h, line 139: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
m4_context_opt_bit_table
^
cc: Error: ../m4/m4module.h, line 167: Ill-formed parameter type list. 
(parmtyplist)
extern m4_symbol_table *m4_symtab_create  (size_t, bool *);
---------------------------------------------------^
cc: Error: ../m4/m4module.h, line 185: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_get_symbol_traced      (m4_symbol*);
-------^
cc: Error: ../m4/m4module.h, line 186: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_set_symbol_traced      (m4_symbol*, bool);
-------^
cc: Error: ../m4/m4module.h, line 187: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_set_symbol_name_traced (m4_symbol_table*,
-------^
cc: Error: ../m4/m4module.h, line 203: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_is_symbol_value_text   (m4_symbol_value *);
-------^
cc: Error: ../m4/m4module.h, line 204: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_is_symbol_value_func   (m4_symbol_value *);
-------^
cc: Error: ../m4/m4module.h, line 205: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool             m4_is_symbol_value_void   (m4_symbol_value *);
-------^
cc: Error: ../m4/m4module.h, line 266: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern bool     m4_debug_set_output     (m4 *, const char *);
-------^
cc: Error: ../m4/m4module.h, line 282: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern  bool             m4_is_syntax_single_quotes     (m4_syntax_table *);
--------^
cc: Error: ../m4/m4module.h, line 283: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern  bool             m4_is_syntax_single_comments   (m4_syntax_table *);
--------^
cc: Error: ../m4/m4module.h, line 284: In this declaration, "_Bool" appears to 
be used as if it named a type, but there is no declared type of that name 
visible. (typedefnotdef)
extern  bool             m4_is_syntax_macro_escaped     (m4_syntax_table *);
--------^
cc: Severe: More than 30 errors were encountered in the course of compilation. 
(toomanyerr)


$ cc -V
Compaq C V6.5-207 (dtk) on Compaq Tru64 UNIX V5.1A (Rev. 1885)
Compiler Driver V6.5-207 (dtk) (dtk) cc Driver
$
-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




reply via email to

[Prev in Thread] Current Thread [Next in Thread]