bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make fails (std::String)


From: Herman Grootaers
Subject: Re: make fails (std::String)
Date: Thu, 26 Jan 2006 23:59:36 +0100
User-agent: KMail/1.8.2

On Thursday 26 January 2006 21:50, Nicolas Sceaux wrote:
> When compiling LilyPond from current CVS, I get the following the
> message on Mac OS 10.4.4. Maybe it's my OS's fault?
>
> rm -f ./out/file-name.dep; DEPENDENCIES_OUTPUT="./out/file-name.dep
> ./out/file-name.o" g++ -c -I/sw/lib/flex/include -DHAVE_CONFIG_H 
> -DNDEBUG -DSTRING_UTILS_INLINED -I./include -I./out
> -I../flower/include -I../flower/./out  -I/sw/lib/flex/include  -O2
> -finline-functions -g -pipe -I/sw/include
> -I/sw/lib/freetype219/include/freetype2  
> -I/sw/lib/pango-ft219/include/pango-1.0 -I/sw/lib/fontconfig2/include
> -I/sw/lib/freetype219/include/freetype2 -I/sw/lib/freetype219/include
> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include    -W -Wall
> -Wconversion -o out/file-name.o file-name.cc ./include/string.icc: In
> function `bool std::std::operator==(std::String, const char*)':
> ./include/string.icc:26: error: no match for 'operator==' in 's1 ==
> std::String(s2)' ./include/string.icc:24: note: candidates are: bool
> std::std::operator==(std::String, const char*) ./include/string.icc:
> In function `bool std::std::operator==(const char*, std::String)':
> ./include/string.icc:33: error: no match for 'operator==' in
> 'std::String(s1) == s2' ./include/string.icc:24: note: candidates
> are: bool std::std::operator==(std::String, const char*)
> ./include/string.icc:31: note:                 bool
> std::std::operator==(const char*, std::String) ./include/string.icc:
> In function `bool std::std::operator!=(std::String, const char*)':
> ./include/string.icc:40: error: no match for 'operator!=' in 's1 !=
> std::String(s2)' ./include/string.icc:38: note: candidates are: bool
> std::std::operator!=(std::String, const char*)
> ./include/international.hh: At global scope:
> ./include/international.hh:25: error: `std' has not been declared
> ./include/international.hh:31: error: `std' has not been declared
> ./include/international.hh:32: error: `std' has not been declared
> ./include/international.hh:32: error: `std' has not been declared
> ./include/international.hh:32: error: `std' has not been declared
> ./include/international.hh:32: error: `std' has not been declared
> ./include/std-string.hh:55: error: 'String' in namespace 'std::std'
> does not name a type ./include/std-string.hh:56: error: 'String' in
> namespace 'std::std' does not name a type ./include/std-string.hh:57:
> error: 'String' in namespace 'std::std' does not name a type
> ./include/std-string.hh:58: error: 'String' in namespace 'std::std'
> does not name a type ./include/std-string.hh:59: error: 'String' in
> namespace 'std::std' does not name a type ./include/std-string.hh:60:
> error: 'String' in namespace 'std::std' does not name a type
> ./include/std-string.hh:61: error: 'String' in namespace 'std::std'
> does not name a type ./include/std-string.hh:63: error: expected
> constructor, destructor, or type conversion before '&' token
> ./include/std-string.hh:64: error: expected constructor, destructor,
> or type conversion before '&' token ./include/std-string.hh:65:
> error: 'String' is not a member of 'std::std'
> ./include/std-string.hh:67: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:67: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:67: error: initializer
> expression list treated as compound expression
> ./include/std-string.hh:68: error: declaration of 'operator>' as
> non-function ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: 'String' is
> not a member of 'std::std' ./include/std-string.hh:68: error:
> expected %<,%> or %<;%> before '{' token ./include/std-string.hh:68:
> error: declaration of 'operator>=' as non-function
> ./include/std-string.hh:68: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: expected
> %<,%> or %<;%> before '{' token ./include/std-string.hh:68: error:
> declaration of 'operator==' as non-function
> ./include/std-string.hh:68: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: expected
> %<,%> or %<;%> before '{' token ./include/std-string.hh:68: error:
> declaration of 'operator!=' as non-function
> ./include/std-string.hh:68: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: expected
> %<,%> or %<;%> before '{' token ./include/std-string.hh:68: error:
> declaration of 'operator<' as non-function
> ./include/std-string.hh:68: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: expected
> %<,%> or %<;%> before '{' token ./include/std-string.hh:68: error:
> declaration of 'operator<=' as non-function
> ./include/std-string.hh:68: error: 'String' is not a member of
> 'std::std' ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: expected
> %<,%> or %<;%> before '{' token ./include/std-string.hh:68: error:
> expected initializer before "const" ./include/std-string.hh:68:
> error: expected initializer before "const"
> ./include/std-string.hh:68: error: declaration of 'operator<' as
> non-function ./include/std-string.hh:68: error: 'String' is not a
> member of 'std::std' ./include/std-string.hh:68: error: 'String' is
> not a member of 'std::std' ./include/file-name.hh:18: error: `std'
> has not been declared ./include/file-name.hh:19: error: `std' has not
> been declared ./include/file-name.hh:20: error: `std' has not been
> declared ./include/file-name.hh:21: error: `std' has not been
> declared ./include/file-name.hh:23: error: `std' has not been
> declared ./include/file-name.hh:29: error: `std' has not been
> declared file-name.cc:14: error: expected namespace-name before ';'
> token file-name.cc:14: error: '<type error>' is not a namespace
> file-name.cc:55: error: `std' has not been declared
> file-name.cc:56: error: `std' has not been declared
> file-name.cc: In function `std::String slashify(std::String)':
> file-name.cc:58: error: 'replace_all' was not declared in this scope
> file-name.cc:59: error: `std' has not been declared
> file-name.cc: At global scope:
> file-name.cc:64: error: `std' has not been declared
> file-name.cc: In member function `std::String File_name::to_string()
> const': file-name.cc:67: error: `std' has not been declared
> file-name.cc:69: error: `std' has not been declared
> file-name.cc:69: error: no matching function for call to
> 'File_name::to_string(char) const' file-name.cc:65: note: candidates
> are: std::String File_name::to_string() const file-name.cc:74: error:
> `std' has not been declared
> file-name.cc:74: error: no matching function for call to
> 'File_name::to_string(char) const' file-name.cc:65: note: candidates
> are: std::String File_name::to_string() const file-name.cc:78: error:
> `std' has not been declared
> file-name.cc:78: error: no matching function for call to
> 'File_name::to_string(char) const' file-name.cc:65: note: candidates
> are: std::String File_name::to_string() const file-name.cc: At global
> scope:
> file-name.cc:82: error: `std' has not been declared
> file-name.cc:56: warning: 'std::String slashify(std::String)' defined
> but not used make[1]: *** [out/file-name.o] Error 1
> make: *** [all] Error 2
>
Nope, I have got the same problem with the tar-ball for Lilypond 2.7.29 
on my Mandriva 2006 system.

It seems that the file ./include/string.icc is broken just for this 
release.

As I am not a programmer, I dont have a clue of what went wrong but 
maybe the dev-team can come up with a quich fix of this problem.

-- 
Herman Grootaers




reply via email to

[Prev in Thread] Current Thread [Next in Thread]