|
Boost : |
Subject: [boost] sun4v compile error
From: Rohit Goel (hi.im.rohit_at_[hidden])
Date: 2010-05-04 02:29:10
Hi,
I am using the interprocess package of boost for file locks.
Though the code builds fine on Windows & Linux, I get the following
errors on Solaris
"/etc/sw//boost/interprocess/detail/move.hpp", line 649: Error:
Templates can only declare classes or functions.
"/etc/sw//boost/interprocess/detail/move.hpp", line 656: Error: A
declaration was expected instead of "while".
"/etc/sw//boost/interprocess/detail/move.hpp", line 656: Error: No
direct declarator preceding "(".
"/etc/sw//boost/interprocess/detail/move.hpp", line 658: Error:
Multiple declaration for f.
"/etc/sw//boost/interprocess/detail/move.hpp", line 658: Error: A
declaration was expected instead of "++".
"/etc/sw//boost/interprocess/detail/move.hpp", line 660: Error: A
declaration was expected instead of "return".
"/etc/sw//boost/interprocess/detail/move.hpp", line 668: Error:
Templates can only declare classes or functions.
"/etc/sw//boost/interprocess/detail/move.hpp", line 672: Error: A
declaration was expected instead of "}".
"/etc/sw//boost/interprocess/detail/move.hpp", line 686: Error:
is_movable is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 686: Error:
enable_if is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 686: Error: type
is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 695: Error:
is_movable is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 695: Error:
disable_if is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 695: Error: type
is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 696: Error: A
previously specified default argument value cannot be changed.
"/etc/sw//boost/interprocess/detail/move.hpp", line 696: Error:
move_detail::uninitialized_move_move_iterator<move_detail::I,
move_detail::F>(move_detail::I, move_detail::I, move_detail::F, int*)
already had a body defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 706: Error:
is_move_iterator is not a member of move_detail.
"/etc/sw//boost/interprocess/detail/move.hpp", line 706: Error:
Unexpected type name "I" encountered.
"/etc/sw//boost/interprocess/detail/move.hpp", line 706: Error:
Expression must have a constant value.
"/etc/sw//boost/interprocess/detail/move.hpp", line 706: Error:
enable_if is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 706: Error: type
is not defined.
"/etc/sw//boost/interprocess/detail/move.hpp", line 730: Error:
is_move_iterator is not a member of move_detail.
"/etc/sw//boost/interprocess/detail/move.hpp", line 730: Error:
Unexpected type name "I" encountered.
"/etc/sw//boost/interprocess/detail/move.hpp", line 730: Error:
Expression must have a constant value.
"/etc/sw//boost/interprocess/detail/move.hpp", line 730: Error:
disable_if is not defined.
Any ideas what could be wrong ?
-Rohit
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk