moissinac / csvfix

Automatically exported from code.google.com/p/csvfix
MIT License
0 stars 0 forks source link

make of alib returns with an error #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
on linux debian distro:

alib$ make

outputs:

g++ -c -Iinc -Iexpat -o obj/a_lib.o src/a_lib.cpp  
In file included from inc/a_xmlparser.h:13,
                 from inc/a_lib.h:31,
                 from src/a_lib.cpp:11:
inc/a_xmltree.h:34: error: ISO C++ forbids declaration of ‘XMLElement’ with
no type
inc/a_xmltree.h:34: error: expected ‘;’ before ‘*’ token
inc/a_xmltree.h:38: error: expected ‘,’ or ‘...’ before ‘*’ token
inc/a_xmltree.h:38: error: ISO C++ forbids declaration of ‘XMLElement’ with
no type
inc/a_xmltree.h:42: error: ISO C++ forbids declaration of ‘XMLElement’ with
no type
inc/a_xmltree.h:42: error: expected ‘;’ before ‘*’ token
make: *** [obj/a_lib.o] Error 1

Original issue reported on code.google.com by joelhalb...@gmail.com on 30 Jun 2009 at 2:46

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Thanks for reporting this issue. The problem is caused by versions 0.7 and 
earlier of
CSVfix being compiled with g++ 3.x, which takes a somewhat lax view of the C++
language. The source package with the version 0.81 (just uploaded) has been test
compiled with g++ 4.4.0 and should solve all C++ compatibility problems. 

Note that Windows & Linux icompatibilities are NOT addressed in this release.

Original comment by nbutterworth1953@gmail.com on 30 Jun 2009 at 4:00

GoogleCodeExporter commented 8 years ago
An experimental tar archive of sources which should compile under Linux has 
just been
posted. Please try it out & post any problems with it here.

Original comment by nbutterworth1953@gmail.com on 1 Jul 2009 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by nbutterworth1953@gmail.com on 3 Jul 2009 at 10:15