bug-gnulib
[Top][All Lists]
Advanced

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

regex cannot be compiled with g++


From: Sam Steingold
Subject: regex cannot be compiled with g++
Date: Thu, 18 Oct 2007 17:19:05 -0400
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

looks like regex still does not support g++:

 g++ -DHAVE_CONFIG_H -I. -I../../src/gllib -I.. -MT regex.lo -MD -MP -MF
.deps/regex.Tpo -c ../../src/gllib/regex.c  -fPIC -DPIC -o .libs/regex.o
../../src/gllib/regcomp.c:260: error: 'reg_syntax_t re_set_syntax'
redeclared as different kind of symbol
../../src/gllib/regex.h:551: error: previous declaration of
'reg_syntax_t re_set_syntax(reg_syntax_t)'
../../src/gllib/regcomp.c:260: error: 'syntax' was not declared in this
scope
../../src/gllib/regcomp.c:262: error: expected unqualified-id before '{'
token
../../src/gllib/regcomp.c:273: error: 'int re_compile_fastmap'
redeclared as different kind of symbol
../../src/gllib/regex.h:563: error: previous declaration of 'int
re_compile_fastmap(re_pattern_buffer*)'
../../src/gllib/regcomp.c:273: error: 'bufp' was not declared in this scope
../../src/gllib/regcomp.c:275: error: expected unqualified-id before '{'
token
../../src/gllib/regcomp.c:453: error: 'int regcomp' redeclared as
different kind of symbol
../../src/gllib/regex.h:658: error: previous declaration of 'int
regcomp(regex_t*, const char*, int)'
../../src/gllib/regcomp.c:453: error: 'preg' was not declared in this scope
../../src/gllib/regcomp.c:453: error: 'pattern' was not declared in this
scope
../../src/gllib/regcomp.c:453: error: 'cflags' was not declared in this
scope
../../src/gllib/regcomp.c:457: error: expected unqualified-id before '{'
token
gmake[2]: *** [regex.lo] Error 1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHF83JPp1Qsf2qnMcRAjUHAKCKoQ75BV3rqwLsFdN0+7b3dGgfvQCfQ5aG
cE+fjkVl4NLMNLTHnZqyzTA=
=p6vn
-----END PGP SIGNATURE-----





reply via email to

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