|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
D.gnu - Errors in Linux D-Compiler
Hi! I have tried to compile DLI under this Debian-machines here in the university. (Btw: I am only a user here. At home I can only install RedHat or SuSE. Debian is too hard for me to install). The System here is an AMD Athlon with Debian GNU/Linux 3.0; Kernel 2.4.17; gcc/g++ 2.95.4. If I want to compile it (dli-0.1.2.tar.gz), there comes the following Error: ------- 9607794 m03:~/d/dli-0.1.2$ make In file included from expression.h:15, from type.h:16, from impcnvgen.cpp:13: lexer.h:204: anonymous class type not used to declare any objects make: *** [impcnvgen] Error 1 9607794 m03:~/d/dli-0.1.2$ ------- The same Error comes by trying to compile dli-0.0.9 until dli-0.1.1. If I change the line 200 of lexer.h from struct to struct asdf the first one will be compiled. But it ends with ------ 9607794 m03:~/d/dli-0.1.2$ make gcc impcnvgen.cpp -o impcnvgen /impcnvgen gcc idgen.cpp -o idgen /idgen g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/access.o /home/96/0/7/9607794/d/dli-0.1.2/access.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/attrib.o /home/96/0/7/9607794/d/dli-0.1.2/attrib.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/cast.o /home/96/0/7/9607794/d/dli-0.1.2/cast.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/class.o /home/96/0/7/9607794/d/dli-0.1.2/class.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/constfold.o /home/96/0/7/9607794/d/dli-0.1.2/constfold.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/debcond.o /home/96/0/7/9607794/d/dli-0.1.2/debcond.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/declaration.o /home/96/0/7/9607794/d/dli-0.1.2/declaration.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/dump.o /home/96/0/7/9607794/d/dli-0.1.2/dump.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/enum.o /home/96/0/7/9607794/d/dli-0.1.2/enum.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/expression.o /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp: In method `struct Expression * IntegerExp::semantic(Scope *)': /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:476: integer constant out of range /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:478: integer constant out of range /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp: In method `void IntegerExp::toCBuffer(OutBuffer *)': /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:504: integer constant out of range make: *** [/home/96/0/7/9607794/d/dli-0.1.2/expression.o] Error 1 9607794 m03:~/d/dli-0.1.2$ ------ Whats wrong? Why can I not compile the D-compiler? Greatings Patrick Jan 28 2003
Hello, I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do it. =) -Jon In article <b168q6$ku5$1 digitaldaemon.com>, Patrick says...Hi! I have tried to compile DLI under this Debian-machines here in the university. (Btw: I am only a user here. At home I can only install RedHat or SuSE. Debian is too hard for me to install). The System here is an AMD Athlon with Debian GNU/Linux 3.0; Kernel 2.4.17; gcc/g++ 2.95.4. If I want to compile it (dli-0.1.2.tar.gz), there comes the following Error: ------- 9607794 m03:~/d/dli-0.1.2$ make In file included from expression.h:15, from type.h:16, from impcnvgen.cpp:13: lexer.h:204: anonymous class type not used to declare any objects make: *** [impcnvgen] Error 1 9607794 m03:~/d/dli-0.1.2$ ------- The same Error comes by trying to compile dli-0.0.9 until dli-0.1.1. If I change the line 200 of lexer.h from struct to struct asdf the first one will be compiled. But it ends with ------ 9607794 m03:~/d/dli-0.1.2$ make gcc impcnvgen.cpp -o impcnvgen /impcnvgen gcc idgen.cpp -o idgen /idgen g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/access.o /home/96/0/7/9607794/d/dli-0.1.2/access.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/attrib.o /home/96/0/7/9607794/d/dli-0.1.2/attrib.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/cast.o /home/96/0/7/9607794/d/dli-0.1.2/cast.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/class.o /home/96/0/7/9607794/d/dli-0.1.2/class.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/constfold.o /home/96/0/7/9607794/d/dli-0.1.2/constfold.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/debcond.o /home/96/0/7/9607794/d/dli-0.1.2/debcond.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/declaration.o /home/96/0/7/9607794/d/dli-0.1.2/declaration.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/dump.o /home/96/0/7/9607794/d/dli-0.1.2/dump.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/enum.o /home/96/0/7/9607794/d/dli-0.1.2/enum.cpp g++ -Werror -g -c -o /home/96/0/7/9607794/d/dli-0.1.2/expression.o /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp: In method `struct Expression * IntegerExp::semantic(Scope *)': /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:476: integer constant out of range /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:478: integer constant out of range /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp: In method `void IntegerExp::toCBuffer(OutBuffer *)': /home/96/0/7/9607794/d/dli-0.1.2/expression.cpp:504: integer constant out of range make: *** [/home/96/0/7/9607794/d/dli-0.1.2/expression.o] Error 1 9607794 m03:~/d/dli-0.1.2$ ------ Whats wrong? Why can I not compile the D-compiler? Greatings Patrick Jan 29 2003
Jonathan Andrew wrote:I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do it. =) Jan 29 2003
Burton Radons wrote:Jonathan Andrew wrote:I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do it. =) Jan 29 2003
Yeah, I wonder why it was put there, without also adding -Wno-deprecated, in the first place. ;) Cheers, Luna Kid "Antti Sykari" <jsykari gamma.hut.fi> wrote in message news:86el6v6pg8.fsf hoastest1-8c.hoasnet.inet.fi...Brad Beveridge <b.beveridge clear.net.nz> writes:Burton Radons wrote:Jonathan Andrew wrote: Don't upgrade too far, as GCC 3.2.xx is also incompatible. Whee! Apr 03 2003
Brad Beveridge <b.beveridge clear.net.nz> writes:Burton Radons wrote:Jonathan Andrew wrote: Don't upgrade too far, as GCC 3.2.xx is also incompatible. Whee! Jan 29 2003
Theodore Reed wrote:On Wed, 29 Jan 2003 18:18:51 +0000 (UTC) Jonathan Andrew <Jonathan_member pathlink.com> wrote:Hello, I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do it. Feb 09 2003
On Wed, 29 Jan 2003 18:18:51 +0000 (UTC) Jonathan Andrew <Jonathan_member pathlink.com> wrote:Hello, I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do it. Feb 04 2003
On Sun, 09 Feb 2003 17:26:36 +0100 Evan McClanahan <evan dontSPAMaltarinteractive.com> wrote:Theodore Reed wrote:On Wed, 29 Jan 2003 18:18:51 +0000 (UTC) Jonathan Andrew <Jonathan_member pathlink.com> wrote:Hello, I had the same problem with it, I think it has to do with incompatibilities between the gcc 3.xx series that Burton uses, and version 2.95. You might be able to upgrade your compiler, or better yet, if they are university machines, convince your sysadmin to do Feb 09 2003
|