[pcre-dev] [Bug 1520] New: visibility markings removed << su…

Top Page

Reply to this message
Author: Mike Frysinger
To: pcre-dev
Subject: [pcre-dev] [Bug 1520] New: visibility markings removed << support for StringPiece
------- You are receiving this mail because: -------
You are on the CC list for the bug.

           Summary: visibility markings removed << support for StringPiece
           Product: PCRE
           Version: 8.32
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: vapier@???
                CC: pcre-dev@???

between the 8.31 and 8.32 release, the libpcrecpp.so library lost the exported
// allow StringPiece to be logged
std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece);

guess it's because it's missing PCRECPP_EXP_DECL markings.

this makes it hard to log the piece because you end up with errors like:
crash-reporter/libcrash.kernel_collector.o: In function
crash-reporter/kernel_collector.cc:232: undefined reference to
`operator<<(std::ostream&, pcrecpp::StringPiece const&)'

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