Revision: 1288
http://vcs.pcre.org/viewvc?view=rev&revision=1288
Author: ph10
Date: 2013-03-16 14:21:58 +0000 (Sat, 16 Mar 2013)
Log Message:
-----------
Add comment about Tru64 native compilers.
Modified Paths:
--------------
code/trunk/README
Modified: code/trunk/README
===================================================================
--- code/trunk/README 2013-03-15 15:54:54 UTC (rev 1287)
+++ code/trunk/README 2013-03-16 14:21:58 UTC (rev 1288)
@@ -25,6 +25,8 @@
Shared libraries
Cross-compiling using autotools
Using HP's ANSI C++ compiler (aCC)
+ Compiling in Tru64 using native compilers
+ Using Sun's compilers for Solaris
Using PCRE from MySQL
Making new tarballs
Testing PCRE
@@ -573,8 +575,29 @@
running the "configure" script:
CXXLDFLAGS="-lstd_v2 -lCsup_v2"
+
+Compiling in Tru64 using native compilers
+-----------------------------------------
+The following error may occur when compiling with native compilers in the Tru64
+operating system:
+
+ 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"
+
+This may be followed by other errors, complaining that 'namespace "std" has no
+member'. The solution to this is to add the line
+
+#define __USE_STD_IOSTREAM 1
+
+to the config.h file.
+
+
Using Sun's compilers for Solaris
---------------------------------
@@ -936,4 +959,4 @@
Philip Hazel
Email local part: ph10
Email domain: cam.ac.uk
-Last updated: 20 February 2013
+Last updated: 16 March 2013