Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In the Ubuntu compiler problem #1

Open
darcyg opened this issue Jun 11, 2014 · 0 comments
Open

In the Ubuntu compiler problem #1

darcyg opened this issue Jun 11, 2014 · 0 comments

Comments

@darcyg
Copy link

darcyg commented Jun 11, 2014

In the Linux platform compiler error
:/works/projects/cppprojs/Caramel$ scons
scons: Reading SConscript files ...
Checking whether the C compiler works(cached) yes
Checking whether the C++ compiler works(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
CXX src/Value.cpp
In file included from include/Caramel/Value/NamedValues.h:8:0,
from src/Value/NamedValuesImpl.h:9,
from src/Value.cpp:5:
include/Caramel/Value/Detail/NamedValueRef.h:70:20: error: ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Int64)’ cannot be overloaded
NamedValueRef& operator=( Int64 v );
^
include/Caramel/Value/Detail/NamedValueRef.h:68:20: error: with ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Long)’
NamedValueRef& operator=( Long v );
^
include/Caramel/Value/Detail/NamedValueRef.h:71:20: error: ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Uint64)’ cannot be overloaded
NamedValueRef& operator=( Uint64 v );
^
include/Caramel/Value/Detail/NamedValueRef.h:69:20: error: with ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Ulong)’
NamedValueRef& operator=( Ulong v );
^
src/Value.cpp:601:16: error: redefinition of ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Int64)’
NamedValueRef& NamedValueRef::operator=( Int64 value )
^
src/Value.cpp:579:16: error: ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Long)’ previously defined here
NamedValueRef& NamedValueRef::operator=( Long value )
^
src/Value.cpp:612:16: error: redefinition of ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Uint64)’
NamedValueRef& NamedValueRef::operator=( Uint64 value )
^
src/Value.cpp:590:16: error: ‘Caramel::Detail::NamedValueRef& Caramel::Detail::NamedValueRef::operator=(Caramel::Ulong)’ previously defined here
NamedValueRef& NamedValueRef::operator=( Ulong value )
^
scons: *** [obj/debug/Value.o] Error 1
scons: building terminated because of errors.
:/works/projects/cppprojs/Caramel$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant