summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-03-16 14:21:58 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-03-16 14:21:58 +0000
commit54fe3b08ae342e5d4673073457265b7437c66f8e (patch)
treecef8438526483829a1b8619c5a9da935aeecf67c
parent28009526777d89ff129ab8557c8a252e499a2bd8 (diff)
downloadpcre-54fe3b08ae342e5d4673073457265b7437c66f8e.tar.gz
Add comment about Tru64 native compilers.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1288 2f5784b3-3f2a-0410-8824-cb99058d5e15
-rw-r--r--README25
1 files changed, 24 insertions, 1 deletions
diff --git a/README b/README
index a07b024..2a49fd6 100644
--- a/README
+++ b/README
@@ -25,6 +25,8 @@ The contents of this README file are:
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,6 +575,27 @@ use the workaround of specifying the following environment variable prior to
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 @@ pcre_xxx, one with the name pcre16_xx, and a third with the name pcre32_xxx.
Philip Hazel
Email local part: ph10
Email domain: cam.ac.uk
-Last updated: 20 February 2013
+Last updated: 16 March 2013