Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2005-01-07 13:46:39


Support Requests item #1098070, was opened at 2005-01-07 10:46
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1098070&group_id=7586

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Spirit does not compile on aCC

Initial Comment:
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_at_[hidden]

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=207586&aid=1098070&group_id=7586

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk