|
Boost : |
From: John Aliberti (John.Aliberti_at_[hidden])
Date: 2003-02-21 17:38:16
>From the posts I have seen it seems that people have got REGEX to work with AIX 5.1 and Visual Age 502.
I extracted from CVS to see if that would solve my issue, but it remains. I am also unable to get the library to build using bjam "-sTOOLS=vacpp".
I figure I will figure that out after I get source code to compile while including #include <boost/regex.hpp>.
I try to compile boost/1.29.0_CVS/libs/regex/test/regress/regex_test.cpp as follows:
xlC_r -qrtti -I/dskrsi02/ate_aix_dev/boost/1.29.0_CVS regex_test.cpp
I get many of warnings similar to the below so I added the -w switch.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_fwd.hpp", line 55.78:
1540-0152 (W) A template dependent name that is a type must be qualified with "typename".
I then get:
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 456.27:
1540-0130 (S) "def_alloc_param_traits" is not declared.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1479.1:
1540-0062 (S) The incomplete class "match_results" must not be used as a qualifi
er.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1527.35:
1540-0140 (S) The text "&" is unexpected. "match_results" may be undeclared, a
mbiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1586.36:
1540-0040 (S) The text "cmatch" is unexpected. "match_results" may be undeclar
ed or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1587.52:
1540-0040 (S) The text "smatch" is unexpected. "match_results" may be undeclar
ed or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1589.39:
1540-0040 (S) The text "wcmatch" is unexpected. "match_results" may be undecla
red or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 1590.53:
1540-0040 (S) The text "wsmatch" is unexpected. "match_results" may be undecla
red or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 31
8.22: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 11
70.38: 1540-0140 (S) The text "*" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
05.49: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
35.25: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
44.18: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 18
33.50: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 18
53.25: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 18
62.18: 1540-0063 (S) The text "match_results" is unexpected.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 1
45.67: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 4
65.84: 1540-0140 (S) The text "&" is unexpected. "boost::match_results" may be
undeclared, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 4
80.67: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 4
91.67: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 5
02.79: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_format.hpp", line 5
11.79: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_split.hpp", line 57
.62: 1540-0140 (S) The text "&" is unexpected. "match_results" may be undeclare
d, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/cregex.cpp", line 80.11:
1540-0040 (S) The text "m" is unexpected. "cmatch" may be undeclared or ambiguo
us.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/cregex.cpp", line 249.32:
1540-0040 (S) The text "&" is unexpected. "cmatch" may be undeclared or ambigu
ous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/cregex.cpp", line 275.32:
1540-0040 (S) The text "&" is unexpected. "cmatch" may be undeclared or ambigu
ous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/cregex.cpp", line 306.32:
1540-0040 (S) The text "&" is unexpected. "cmatch" may be undeclared or ambigu
ous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/cregex.cpp", line 338.81:
1540-0040 (S) The text "&" is unexpected. "match_results" may be undeclared or
ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 51.38: 1540-0040 (S) The text "&" is unexpected. "match_
results" may be undeclared or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 54.54: 1540-0040 (S) The text "&" is unexpected. "match_
results" may be undeclared or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 55.81: 1540-0040 (S) The text "&" is unexpected. "match_
results" may be undeclared or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 66.16: 1540-0130 (S) "match_results" is not declared.
"regex_test.cpp", line 70.18: 1540-0063 (S) The text "match_results" is unexpect
ed.
"regex_test.cpp", line 79.17: 1540-0063 (S) The text "match_results" is unexpect
ed.
"regex_test.cpp", line 82.23: 1540-0189 (S) Only static member variables of temp
lates can be instantiated.
"regex_test.cpp", line 88.55: 1540-0140 (S) The text "&" is unexpected. "match_
results" may be undeclared, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 92.55: 1540-0140 (S) The text "&" is unexpected. "match_
results" may be undeclared, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 125.18: 1540-0063 (S) The text "match_results" is unexpec
ted.
"regex_test.cpp", line 129.18: 1540-0063 (S) The text "match_results" is unexpec
ted.
"regex_test.cpp", line 139.17: 1540-0063 (S) The text "match_results" is unexpec
ted.
"regex_test.cpp", line 143.17: 1540-0063 (S) The text "match_results" is unexpec
ted.
"regex_test.cpp", line 146.23: 1540-0189 (S) Only static member variables of tem
plates can be instantiated.
"regex_test.cpp", line 150.23: 1540-0189 (S) Only static member variables of tem
plates can be instantiated.
"regex_test.cpp", line 155.88: 1540-0140 (S) The text "&" is unexpected. "match
_results" may be undeclared, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"regex_test.cpp", line 159.88: 1540-0140 (S) The text "&" is unexpected. "match
_results" may be undeclared, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"tests.cpp", line 148.65: 1540-0140 (S) The text "&" is unexpected. "boost::mat
ch_results" may be undeclared, ambiguous or may require "typename" qualification
.
"parse.cpp", line 112.66: 1540-0040 (S) The text "parse_grep" is unexpected. "m
atch_results" may be undeclared or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex.hpp", line 462.7: 1
540-1303 (I) "template class match_results" is not visible.
"parse.cpp", line 125.36: 1540-0040 (S) The text "&" is unexpected. "parse_grep
" may be undeclared or ambiguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
65.28: 1540-0140 (S) The text "m" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
60.13: 1540-0700 (I) The previous message was produced while processing "boost::
regex_match<std::char_traits<char>,std::allocator<char>,char,boost::regex_traits
<char>,std::allocator<char> >(const basic_string<char,std::char_traits<char>,std
::allocator<char> > &, const reg_expression<char,boost::regex_traits<char>,std::
allocator<char> > &, unsigned int)".
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
23.28: 1540-0140 (S) The text "m" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
21.6: 1540-0700 (I) The previous message was produced while processing "boost::r
egex_match<const char *,char,boost::regex_traits<char>,std::allocator<char> >(co
nst char *, const char *, const reg_expression<char,boost::regex_traits<char>,st
d::allocator<char> > &, unsigned int)".
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
55.32: 1540-0140 (S) The text "m" is unexpected. "match_results" may be undecla
red, ambiguous or may require "typename" qualification.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/boost/regex/v3/regex_match.hpp", line 17
51.13: 1540-0700 (I) The previous message was produced while processing "boost::
regex_match<char,boost::regex_traits<char>,std::allocator<char> >(const char *,
const reg_expression<char,boost::regex_traits<char>,std::allocator<char> > &, un
signed int)".
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/posix_api.cpp", line 171.
11: 1540-0040 (S) The text "m" is unexpected. "cmatch" may be undeclared or amb
iguous.
"/dskrsi02/ate_aix_dev/boost/1.29.0_CVS/libs/regex/src/wide_posix_api.cpp", line
179.12: 1540-0040 (S) The text "m" is unexpected. "wcmatch" may be undeclared
or ambiguous.
----------------------------------
John Aliberti
John.Aliberti_at_[hidden]
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk