Build error C3083

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Build error C3083

Boost - Users mailing list
Hi,

I am trying to build an application that uses the boost libraries. I am
seeing build error C3083 in bind_mf_cc.hpp.

The error states:

Error C3083 'core': the symbol to the left of a '::' must be a type

This is the offending code section :


template<class Rt2, class R, class T,
        class A1>
        typename boost::enable_if_c<!boost::core::is_same<Rt2,R>::value,
        _bi::bind_t<Rt2, _mfi::BOOST_BIND_MF_NAME(mf0)<R,T>, typename
_bi::list_av_1<A1>::type>>::type
        BOOST_BIND(R(BOOST_BIND_MF_CC T::*f) (), A1 a1)
{
    typedef _mfi::BOOST_BIND_MF_NAME(mf0)<R, T> F;
    typedef typename _bi::list_av_1<A1>::type list_type;
    return _bi::bind_t<Rt2, F, list_type>(F(f), list_type(a1));
}

And the line giving the trouble is the line beginning:

typename boost::enable_if_c<!boost::core::is_same<Rt2,R>::value,


Can anyone help me correct the line to fix this issue please?

Thanks.








_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
On 14/06/2017 23:37, James wrote:
> I am trying to build an application that uses the boost libraries. I am
> seeing build error C3083 in bind_mf_cc.hpp.
>
> The error states:
>
> Error C3083 'core': the symbol to the left of a '::' must be a type

You don't say which version of Boost or which Boost libraries you're
trying to use.

But the first thing you should investigate is to look through the
include paths for your projects and ensure that you only have one path
that points at the Boost library header files, and that you don't have
an older version of the header files in any other path.

Remember to check the full list of include paths in the project; it's
possible that some are coming from a properties file or other reference.

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list

> -----Original Message-----
> From: Boost-users [mailto:[hidden email]] On
> Behalf Of Gavin Lambert via Boost-users
> Sent: 15 June 2017 01:08
> To: [hidden email]
> Cc: Gavin Lambert
> Subject: Re: [Boost-users] Build error C3083
>
> On 14/06/2017 23:37, James wrote:
> > I am trying to build an application that uses the boost libraries. I
> > am seeing build error C3083 in bind_mf_cc.hpp.
> >
> > The error states:
> >
> > Error C3083 'core': the symbol to the left of a '::' must be a type
>
> You don't say which version of Boost or which Boost libraries you're
> trying to use.
>
> But the first thing you should investigate is to look through the
> include paths for your projects and ensure that you only have one path
> that points at the Boost library header files, and that you don't have
> an older version of the header files in any other path.
>
> Remember to check the full list of include paths in the project; it's
> possible that some are coming from a properties file or other
> reference.
>
> _______________________________________________
> Boost-users mailing list
> [hidden email]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users

Thanks for the reply. I only have one version of boost in my system, it is
version 1.63.0. As far as I know I have checked all the include paths.


_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list

On 06/15/2017 05:36 PM, James via Boost-users wrote:

>
>> On 14/06/2017 23:37, James wrote:
>>> I am trying to build an application that uses the boost libraries. I
>>> am seeing build error C3083 in bind_mf_cc.hpp.
>>>
>>> The error states:
>>>
>>> Error C3083 'core': the symbol to the left of a '::' must be a type
>> You don't say which version of Boost or which Boost libraries you're
>> trying to use.
>>
>> But the first thing you should investigate is to look through the
>> include paths for your projects and ensure that you only have one path
>> that points at the Boost library header files, and that you don't have
>> an older version of the header files in any other path.
>>
>> Remember to check the full list of include paths in the project; it's
>> possible that some are coming from a properties file or other
>> reference.
> Thanks for the reply. I only have one version of boost in my system, it is
> version 1.63.0. As far as I know I have checked all the include paths.
Wherever your system has the boost headers, is there a boost/core subdirectory, or is it missing?  Some tools (e.g., cvs) ignore anything named "core" when copying or installing.

--

Dick Hadsell 203-992-6320  Fax: 203-992-6001
Reply-to: [hidden email]
Blue Sky Studioshttp://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list


> -----Original Message-----
> From: Richard Hadsell [mailto:[hidden email]]
> Sent: 16 June 2017 15:50
> To: [hidden email]
> Cc: James
> Subject: Re: [Boost-users] Build error C3083
>
>
> On 06/15/2017 05:36 PM, James via Boost-users wrote:
> >
> >> On 14/06/2017 23:37, James wrote:
> >>> I am trying to build an application that uses the boost libraries.
> I
> >>> am seeing build error C3083 in bind_mf_cc.hpp.
> >>>
> >>> The error states:
> >>>
> >>> Error C3083 'core': the symbol to the left of a '::' must be a type
> >> You don't say which version of Boost or which Boost libraries you're
> >> trying to use.
> >>
> >> But the first thing you should investigate is to look through the
> >> include paths for your projects and ensure that you only have one
> >> path that points at the Boost library header files, and that you
> >> don't have an older version of the header files in any other path.
> >>
> >> Remember to check the full list of include paths in the project;
> it's
> >> possible that some are coming from a properties file or other
> >> reference.
> > Thanks for the reply. I only have one version of boost in my system,
> > it is version 1.63.0. As far as I know I have checked all the include
> paths.
> Wherever your system has the boost headers, is there a boost/core
> subdirectory, or is it missing?  Some tools (e.g., cvs) ignore anything
> named "core" when copying or installing.
>
> --

Hi, yes the core subdirectory is present.



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
In reply to this post by Boost - Users mailing list


> -----Original Message-----
> From: Richard Hadsell [mailto:[hidden email]]
> Sent: 16 June 2017 15:50
> To: [hidden email]
> Cc: James
> Subject: Re: [Boost-users] Build error C3083
>
>
> On 06/15/2017 05:36 PM, James via Boost-users wrote:
> >
> >> On 14/06/2017 23:37, James wrote:
> >>> I am trying to build an application that uses the boost libraries.
> I
> >>> am seeing build error C3083 in bind_mf_cc.hpp.
> >>>
> >>> The error states:
> >>>
> >>> Error C3083 'core': the symbol to the left of a '::' must be a type
> >> You don't say which version of Boost or which Boost libraries you're
> >> trying to use.
> >>
> >> But the first thing you should investigate is to look through the
> >> include paths for your projects and ensure that you only have one
> >> path that points at the Boost library header files, and that you
> >> don't have an older version of the header files in any other path.
> >>
> >> Remember to check the full list of include paths in the project;
> it's
> >> possible that some are coming from a properties file or other
> >> reference.
> > Thanks for the reply. I only have one version of boost in my system,
> > it is version 1.63.0. As far as I know I have checked all the include
> paths.
> Wherever your system has the boost headers, is there a boost/core
> subdirectory, or is it missing?  Some tools (e.g., cvs) ignore anything
> named "core" when copying or installing.
>

So anyone got any suggestions of changes I can try to fix this?



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
On 14/06/2017 23:37, James wrote:
> I am trying to build an application that uses the boost libraries.
> I am seeing build error C3083 in bind_mf_cc.hpp.
>
> The error states:
>
> Error C3083 'core': the symbol to the left of a '::' must be a type

If the application is including bind_mf_cc.hpp directly, it should not.

Otherwise, it is most likely because bind_mf_cc.hpp from a newer Boost
(one that uses <boost/core/is_same.hpp>) is being included by an older
Boost distribution (without Boost.Core).

Glen
_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
In reply to this post by Boost - Users mailing list
On 06/20/2017 06:16 PM, James via Boost-users wrote:

>
>> -----Original Message-----
>> From: Richard Hadsell [mailto:[hidden email]]
>> Sent: 16 June 2017 15:50
>> To: [hidden email]
>> Cc: James
>> Subject: Re: [Boost-users] Build error C3083
>>
>>
>> On 06/15/2017 05:36 PM, James via Boost-users wrote:
>>>> On 14/06/2017 23:37, James wrote:
>>>>> I am trying to build an application that uses the boost libraries.
>> I
>>>>> am seeing build error C3083 in bind_mf_cc.hpp.
>>>>>
>>>>> The error states:
>>>>>
>>>>> Error C3083 'core': the symbol to the left of a '::' must be a type
>>>>
Look for a "#define core ..." macro somewhere before your source includes the bind_mf_cc.hpp header.

--

Dick Hadsell 203-992-6320  Fax: 203-992-6001
Reply-to: [hidden email]
Blue Sky Studioshttp://www.blueskystudios.com
1 American Lane, Greenwich, CT 06831-2560

_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
In reply to this post by Boost - Users mailing list


> -----Original Message-----
> From: Boost-users [mailto:[hidden email]] On
> Behalf Of Glen Fernandes via Boost-users
> Sent: 20 June 2017 23:22
> To: [hidden email]
> Cc: Glen Fernandes
> Subject: Re: [Boost-users] Build error C3083
>
> On 14/06/2017 23:37, James wrote:
> > I am trying to build an application that uses the boost libraries.
> > I am seeing build error C3083 in bind_mf_cc.hpp.
> >
> > The error states:
> >
> > Error C3083 'core': the symbol to the left of a '::' must be a type
>
> If the application is including bind_mf_cc.hpp directly, it should not.
>
> Otherwise, it is most likely because bind_mf_cc.hpp from a newer Boost
> (one that uses <boost/core/is_same.hpp>) is being included by an older
> Boost distribution (without Boost.Core).
>
> Glen

Thanks so if either of those is the case it should be able to be put right,
ie what change do I need to make so that the older version includes
Boost.core (which I seem to have in my directories) or the newer one doesn't
need it?



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
In reply to this post by Boost - Users mailing list


> -----Original Message-----
> From: Richard Hadsell [mailto:[hidden email]]
> Sent: 20 June 2017 23:28
> To: [hidden email]
> Cc: James
> Subject: Re: [Boost-users] Build error C3083
>
> On 06/20/2017 06:16 PM, James via Boost-users wrote:
> >
> >> -----Original Message-----
> >> From: Richard Hadsell [mailto:[hidden email]]
> >> Sent: 16 June 2017 15:50
> >> To: [hidden email]
> >> Cc: James
> >> Subject: Re: [Boost-users] Build error C3083
> >>
> >>
> >> On 06/15/2017 05:36 PM, James via Boost-users wrote:
> >>>> On 14/06/2017 23:37, James wrote:
> >>>>> I am trying to build an application that uses the boost
> libraries.
> >> I
> >>>>> am seeing build error C3083 in bind_mf_cc.hpp.
> >>>>>
> >>>>> The error states:
> >>>>>
> >>>>> Error C3083 'core': the symbol to the left of a '::' must be a
> type
> >>>>
> Look for a "#define core ..." macro somewhere before your source
> includes the bind_mf_cc.hpp header.
>

OK I searched the bind_mf_cc.hpp file and found no "#define" statement.



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list
In reply to this post by Boost - Users mailing list

> -----Original Message-----
> From: Richard Hadsell [mailto:[hidden email]]
> Sent: 20 June 2017 23:28
> To: [hidden email]
> Cc: James
> Subject: Re: [Boost-users] Build error C3083
>
> On 06/20/2017 06:16 PM, James via Boost-users wrote:
> >
> >> -----Original Message-----
> >> From: Richard Hadsell [mailto:[hidden email]]
> >> Sent: 16 June 2017 15:50
> >> To: [hidden email]
> >> Cc: James
> >> Subject: Re: [Boost-users] Build error C3083
> >>
> >>
> >> On 06/15/2017 05:36 PM, James via Boost-users wrote:
> >>>> On 14/06/2017 23:37, James wrote:
> >>>>> I am trying to build an application that uses the boost
> libraries.
> >> I
> >>>>> am seeing build error C3083 in bind_mf_cc.hpp.
> >>>>>
> >>>>> The error states:
> >>>>>
> >>>>> Error C3083 'core': the symbol to the left of a '::' must be a
> type
> >>>>
> Look for a "#define core ..." macro somewhere before your source
> includes the bind_mf_cc.hpp header.
>

Any further thoughts on this please? I'm stuck till I can get past this.
Thanks.



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Build error C3083

Boost - Users mailing list

Any further thoughts on this please? I'm stuck till I can get past this.
Thanks.


 
I suggest finding the switch that outputs the pre-processed C++ file before it goes to the compiler. Usually /E or -E. Pipe the output to a txt file and look for the offending code to see if it looks like you think it should. That will tell you whether it's a pre-processing issue or not.

I expect that the file ends up malformed due to something in the pre-processor, so try this and we'll go from there.

-- chris



_______________________________________________
Boost-users mailing list
[hidden email]
https://lists.boost.org/mailman/listinfo.cgi/boost-users
Loading...