[pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studi…

Top Page
Delete this message
Author: Philip Hazel
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 1278] New: pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
Subject: [pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
------- You are receiving this mail because: -------
You are on the CC list for the bug.

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




--- Comment #15 from Philip Hazel <ph10@???> 2014-01-04 15:30:20 ---
Just had another look at this, and found there is related code inside the
pcrecpp.cc file:

#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__)
# define ULP_AS_STRING(x)            ULP_AS_STRING_INTERNAL(x)
# define ULP_AS_STRING_INTERNAL(x)   #x
# define USER_LABEL_PREFIX_STR       ULP_AS_STRING(__USER_LABEL_PREFIX__)
extern Arg no_arg
  __attribute__((alias(USER_LABEL_PREFIX_STR "_ZN7pcrecpp2RE6no_argE")));
#endif


I don't know if this ties in with the code in configure.ac, or is another way
of achieving the same thing.

I am strongly tempted to remove all this stuff from the next release, with a
big warning notice in NEWS. What do other people think?


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