------- You are receiving this mail because: -------
You are on the CC list for the bug.
http://bugs.exim.org/show_bug.cgi?id=1344
Summary: Received compile error on Tru64
Product: PCRE
Version: 8.32
Platform: Other
OS/Version: All
Status: NEW
Severity: bug
Priority: medium
Component: Code
AssignedTo: ph10@???
ReportedBy: cantelow@???
CC: pcre-dev@???
Greetings.
I received this compile error, running on Tru64 with native cc and cxx:
=============================
...
CC libpcreposix_la-pcreposix.lo
CCLD libpcreposix.la
CXX libpcrecpp_la-pcrecpp.lo
cxx: Error: /usr/lib/cmplrs/cxx/V7.1-006/include/cxx/iosfwd, line 58: #error
directive: "cannot include iosfwd -- define __USE_STD_IOSTREAM to
override default - see section 7.1.2 of the C++ Using Guide"
#error "cannot include iosfwd -- define __USE_STD_IOSTREAM to override default
- see section 7.1.2 of the C++ Using Guide"
-^
cxx: Error: ./pcre_stringpiece.h, line 177: namespace "std" has no member
"ostream"
std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece);
-----^
cxx: Error: ./pcre_stringpiece.h, line 177: namespace "std" has no member
"ostream"
std::ostream& operator<<(std::ostream& o, const pcrecpp::StringPiece& piece);
------------------------------^
cxx: Info: 3 errors detected in the compilation of "pcrecpp.cc".
=============================
I followed the suggestion in the error message and added this to config.h-
#define __USE_STD_IOSTREAM 1
-and all compiled and tested fine. Thought you'd like to know.
Thanks for all you do!
--
Configure bugmail:
http://bugs.exim.org/userprefs.cgi?tab=email