[tlbuild] asymptote trials

Ken Brown kbrow1i at gmail.com
Fri May 22 18:50:04 CEST 2009


On 5/22/2009 10:54 AM, Ken Brown wrote:
> alloc.c:875: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'word'
> alloc.c:880: error: expected '=', ',', ';', 'asm' or '__attribute__' 
> before 'word'

I tried again using g++ 3.4.4, and these errors didn't occur.  But the 
build failed at a later stage:

g++ -Wall -ansi -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -DUSEGC 
-DBROKEN_COMPILER -I . -Igc-7.1/include -o main.o -c main.cc
In file included from 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/fstream:840,
                  from settings.h:11,
                  from errormsg.h:13,
                  from main.cc:35:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/fstream.tcc: In 
member function `virtual typename std::basic_filebuf<_CharT, 
_Traits>::int_type std::basic_filebuf<_CharT, _Traits>::underflow()':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/fstream.tcc:277: 
error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/fstream.tcc: In 
member function `virtual std::streamsize std::basic_filebuf<_CharT, 
_Traits>::xsputn(const _CharT*, std::streamsize)':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/fstream.tcc:585: 
error: expected unqualified-id before '(' token
In file included from pen.h:12,
                  from process.h:19,
                  from main.cc:40:
bbox.h: At global scope:
bbox.h:16: error: expected `)' before "a"
bbox.h:16: error: expected `)' before "a"
bbox.h:16: error: expected `;' before "a"
bbox.h:22: error: expected `)' before "a"
bbox.h:22: error: expected `)' before "a"
bbox.h:22: error: expected `;' before "a"
In file included from pen.h:14,
                  from process.h:19,
                  from main.cc:40:
path.h:358:12: macro "max" requires 2 arguments, but only 1 given
In file included from pen.h:14,
                  from process.h:19,
                  from main.cc:40:
path.h:358: error: expected `;' before "const"
path.h:363: error: expected `;' before "pair"
path.h:363:12: macro "min" requires 2 arguments, but only 1 given
path.h:363: error: expected `;' before "const"
path.h:369: error: expected `;' before "friend"
path.h: In member function `double camp::path::norm(const camp::pair&, 
const camp::pair&, const camp::pair&, const camp::pair&) const':
path.h:202: error: expected unqualified-id before '(' token
path.h:202: error: expected unqualified-id before '(' token
path.h:202: error: expected unqualified-id before '(' token
make: *** [main.o] Error 1

Ken


More information about the tlbuild mailing list