You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Danushka Menikkumbura <da...@wso2.com> on 2008/09/29 14:57:05 UTC

[C++] Build Error in Trunk

Devs,
    I get the following build error when I try to compile the source in 
the trunk. I do not get this with the M2.1 distribution. Any idea?.

/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:457: 
error: expected ';' before '(' token
/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:467: 
error: expected `;' before 'private'
/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp: 
In function 'D* boost::get_deleter(const boost::shared_ptr<U>&)':
/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
error: expected primary-expression before ')' token
/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
error: there are no arguments to 'BOOST_SP_TYPEID' that depend on a 
template parameter, so a declaration of 'BOOST_SP_TYPEID' must be available
/home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
error: (if you use '-fpermissive', G++ will accept your code, but 
allowing the use of an undeclared name is deprecated)
make[1]: *** [gen/generate_MaxMethodBodySize_h.o] Error 1

Danushka

-- 
Danushka Menikkumbura
Technical Lead, WSO2 Inc.

blog : http://danushka-menikkumbura.blogspot.com/

http://wso2.com/ - "The Open Source SOA Company"



Re: [C++] Build Error in Trunk

Posted by Danushka Menikkumbura <da...@wso2.com>.
> Any more clues -- boost version, OS, etc?
Boost 1.35, Ubuntu (Hardy)

-- 
Danushka Menikkumbura
Technical Lead, WSO2 Inc.

blog : http://danushka-menikkumbura.blogspot.com/

http://wso2.com/ - "The Open Source SOA Company"



Re: [C++] Build Error in Trunk

Posted by Carl Trieloff <cc...@redhat.com>.

Any more clues -- boost version, OS, etc?

Carl.

Danushka Menikkumbura wrote:
> Devs,
>    I get the following build error when I try to compile the source in 
> the trunk. I do not get this with the M2.1 distribution. Any idea?.
>
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:457: 
> error: expected ';' before '(' token
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:467: 
> error: expected `;' before 'private'
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp: 
> In function 'D* boost::get_deleter(const boost::shared_ptr<U>&)':
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
> error: expected primary-expression before ')' token
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
> error: there are no arguments to 'BOOST_SP_TYPEID' that depend on a 
> template parameter, so a declaration of 'BOOST_SP_TYPEID' must be 
> available
> /home/danushka/software/deploy/boost_1_35/include/boost/shared_ptr.hpp:606: 
> error: (if you use '-fpermissive', G++ will accept your code, but 
> allowing the use of an undeclared name is deprecated)
> make[1]: *** [gen/generate_MaxMethodBodySize_h.o] Error 1
>
> Danushka
>


RE: [C++] Build Error in Trunk

Posted by Steve Huston <sh...@riverace.com>.
Just FYI... A build I run nightly on RHEL 4, building C++ trunk, did
not see this error. I built svn 699936.

-Steve

> -----Original Message-----
> From: Danushka Menikkumbura [mailto:danushka@wso2.com] 
> Sent: Monday, September 29, 2008 8:57 AM
> To: qpid-dev@incubator.apache.org
> Subject: [C++] Build Error in Trunk
> 
> 
> Devs,
>     I get the following build error when I try to compile the 
> source in 
> the trunk. I do not get this with the M2.1 distribution. Any idea?.
> 
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp:457: 
> error: expected ';' before '(' token
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp:467: 
> error: expected `;' before 'private'
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp: 
> In function 'D* boost::get_deleter(const boost::shared_ptr<U>&)':
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp:606: 
> error: expected primary-expression before ')' token
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp:606: 
> error: there are no arguments to 'BOOST_SP_TYPEID' that depend on a 
> template parameter, so a declaration of 'BOOST_SP_TYPEID' 
> must be available
> /home/danushka/software/deploy/boost_1_35/include/boost/shared
> _ptr.hpp:606: 
> error: (if you use '-fpermissive', G++ will accept your code, but 
> allowing the use of an undeclared name is deprecated)
> make[1]: *** [gen/generate_MaxMethodBodySize_h.o] Error 1
> 
> Danushka
> 
> -- 
> Danushka Menikkumbura
> Technical Lead, WSO2 Inc.
> 
> blog : http://danushka-menikkumbura.blogspot.com/
> 
> http://wso2.com/ - "The Open Source SOA Company"
> 
>