lilypond-devel
[Top][All Lists]
Advanced

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

Compiling with --disable-std-string


From: Erlend Aasland
Subject: Compiling with --disable-std-string
Date: Mon, 23 Jan 2006 16:13:19 +0100

Hi,

I suspect that portions of "flower" is in some kind of deep-hack-mode now, so I was not surprised when compilation stopped here:

./include/file-name.hh:22: error: ISO C++ forbids declaration of 'root_' with no type
./include/file-name.hh:23: error: ISO C++ forbids declaration of 'dir_' with no type
./include/file-name.hh:24: error: ISO C++ forbids declaration of 'base_' with no type
./include/file-name.hh:25: error: ISO C++ forbids declaration of 'ext_' with no type
./include/file-name.hh:33: error: ISO C++ forbids declaration of 'to_string' with no type
file-name.cc:67: error: ISO C++ forbids declaration of 'to_string' with no type
file-name.cc: In member function `int File_name::to_string() const':
file-name.cc:69: error: 's' was not declared in this scope
file-name.cc:70: error: request for member 'empty' in '((const File_name*)this)->File_name::root_', which is of non-class type 'const int'
file-name.cc :71: error: invalid conversion from 'const int' to 'const char*'
file-name.cc:71: error:   initializing argument 1 of 'String::String(const char*)'
file-name.cc:72: error: request for member 'empty' in '((const File_name*)this)->File_name::dir_', which is of non-class type 'const int'
file-name.cc:75: error: request for member 'empty' in '((const File_name*)this)->File_name::base_', which is of non-class type 'const int'
file-name.cc:75: error: request for member 'empty' in '((const File_name*)this)->File_name::ext_', which is of non-class type 'const int'
file-name.cc:79: error: request for member 'empty' in '((const File_name*)this)->File_name::ext_', which is of non-class type 'const int'
file-name.cc:80: error: invalid conversion from 'const int' to 'const char*'
file-name.cc:80: error:   initializing argument 1 of 'String::String(const char*)'
file-name.cc: At global scope:
file-name.cc:84: error: invalid function declaration
file-name.cc: In member function `bool File_name::is_absolute() const':
file-name.cc:126: error: request for member 'length' in '((const File_name*)this)->File_name::dir_', which is of non-class type 'const int'
file-name.cc:126: error: invalid types 'const int[int]' for array subscript
file-name.cc:126: error: request for member 'length' in '((const File_name*)this)->File_name::root_', which is of non-class type 'const int'
make[1]: *** [out/file-name.o] Error 1
make: *** [all] Error 2

Smells like preprocessor trouble... Compiling with --enable-std-string seems to work fine (compiling now, almost finished...).

Regards,
  Erlend Aasland

reply via email to

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