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

トップ ページ
このメッセージを削除
著者: Mike Frysinger
日付:  
To: pcre-dev
題目: [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.

http://bugs.exim.org/show_bug.cgi?id=1520
           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
symbol:
// 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
`KernelCollector::StripSensitiveData(std::string*)':
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