[pcre-dev] [Bug 664] ABI breakage in PCRE 7.6

Kezdőlap
Üzenet törlése
Szerző: Daniel Johnson
Dátum:  
Címzett: pcre-dev
Tárgy: [pcre-dev] [Bug 664] ABI breakage in PCRE 7.6
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=664




--- Comment #24 from Daniel Johnson <daniel@???> 2008-03-26 22:47:45 ---
(In reply to comment #23)
> This doesn't compile:
>
> /bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -g -Os
> -c -o pcrecpp.lo pcrecpp.cc
>  g++ -DHAVE_CONFIG_H -I. -g -Os -c pcrecpp.cc  -fno-common -DPIC -o
> .libs/pcrecpp.o
> pcrecpp.cc:74: error: expected `)' before string constant
> pcrecpp.cc:74: error: alias argument not a string

>
> Don't you need to concatenate the macro and the string constant? Otherwise the
> compiler thinks they're separate symbols.
>
> Daniel
>


Hmm. It doesn't matter. I just manually added a "_" to see what happens and got
this:

/bin/sh ./libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.     -g -Os
-c -o pcrecpp.lo pcrecpp.cc
 g++ -DHAVE_CONFIG_H -I. -g -Os -c pcrecpp.cc  -fno-common -DPIC -o
.libs/pcrecpp.o
pcrecpp.cc:74: error: 'pcrecpp::no_arg' aliased to undefined symbol
'__ZN7pcrecpp2RE6no_argE'
pcrecpp.cc:891: warning: alias definitions not supported in Mach-O; ignored


Daniel


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email