Opened 18 years ago
Closed 16 years ago
#337 closed Support Requests (None)
Spirit does not compile on aCC
| Reported by: | nobody | Owned by: | Joel de Guzman |
|---|---|---|---|
| Milestone: | Component: | None | |
| Version: | None | Severity: | |
| Keywords: | Cc: |
Description
I am really interested in using boost, and especially
spirit, for a project on HP-UX, but it seems the aCC
compiler has got some issues with the template
resolutions, even though it is a decent compiler, and
very fast, compared to gcc at least.
I tried to compile some of the spirit tests and here
are the kind of errors I get:
>aCC -AA -I../../boost_1_32_0/ +W823 chset_tests.cpp
Error 619:
"../../boost_1_32_0/boost/spirit/core/primitives/primitives.hpp",
line 40 # The definition of template
result<boost::spirit::anychar_parser> contains typename
qualification 'ScannerT::value_t', yet generation of
specialization struct
result<boost::spirit::anychar_parser> implies that
'ScannerT' is 'tentative struct anychar_parser', which
does not contain a type named 'value_t'.
typename parser_result<self_t, ScannerT>::type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error 617:
"../../boost_1_32_0/boost/spirit/core/primitives/primitives.hpp",
line 40 # The definition of template result<int>
contains typename qualification 'ScannerT::value_t',
yet generation of specialization struct result<int>
implies that 'ScannerT'
is 'int', which is not a class type.
typename parser_result<self_t, ScannerT>::type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It seems it does not use the proper parameters. note
that aCC does not have issues usually with template,
even when using several level of nesting or
specialisations.
any kind of help towards resolution of this issue would
be greatly appreciated, thanks,
maudouy@amadeus.net
Change History (2)
comment:2 by , 16 years ago
| Status: | assigned → closed |
|---|
Logged In: YES user_id=237817 I am closing this now. If you have further questions, The proper forum to post the problem to is Spirit's mailing list: https://lists.sourceforge.net/lists/listinfo/spirit-general
Note:
See TracTickets
for help on using tickets.
