confuse-devel
[Top][All Lists]
Advanced

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

Re: [Confuse-devel] compile error with confuse 2.0 and gcc 2.95.3


From: Martin Hedenfalk
Subject: Re: [Confuse-devel] compile error with confuse 2.0 and gcc 2.95.3
Date: Sun, 6 Apr 2003 22:28:59 +0200

Hi, thanks for the report.

I haven't tried it yet, but I suspect this is because the confuse.h header file
is saved with DOS end-of-line characters (ie, CRLF instead of only LF).

It does compile cleanly on Debian 3.0 (stable) with gcc 2.95.4.

/martin

----- Original Message ----- 
From: "Pascal Bleser" <address@hidden>
To: <address@hidden>
Sent: Sunday, April 06, 2003 5:47 PM
Subject: [Confuse-devel] compile error with confuse 2.0 and gcc 2.95.3


> Trying to make the SuSE RPM of confuse 2.0, I get the following compile 
> error with gcc 2.95.3 (on SuSE 8.0/x86):
> 
> gcc -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -O2 
> -march=i486 -mcpu=i686 -c confuse.c -Wp,-MD,.deps/confuse.TPlo  -fPIC 
> -DPIC -o .libs/confuse.lo
> In file included from confuse.c:42:
> confuse.h:227: parse error before `{'
> confuse.h:234: stray '\' in program
> confuse.h:239: stray '\' in program
> confuse.h:244: stray '\' in program
> confuse.h:249: stray '\' in program
> confuse.h:286: stray '\' in program
> confuse.h:297: stray '\' in program
> confuse.h:302: stray '\' in program
> confuse.h:307: stray '\' in program
> confuse.h:312: stray '\' in program
> confuse.h:318: stray '\' in program
> confuse.h:330: stray '\' in program
> confuse.h:335: stray '\' in program
> confuse.h:340: stray '\' in program
> confuse.h:345: stray '\' in program
> confuse.h:351: stray '\' in program
> confuse.h:363: stray '\' in program
> confuse.h:368: stray '\' in program
> confuse.h:373: stray '\' in program
> confuse.h:378: stray '\' in program
> confuse.h:384: stray '\' in program
> confuse.c: In function `cfg_parse_internal':
> confuse.c:593: stray '\' in program
> confuse.c:593: parse error before `;'
> 
> Just built it the usual way:
> ./configure --prefix=/usr --enable-shared
> make
> 
> Note that it compiles without errors with gcc 3.2 (SuSE 8.1/x86).
> 
> -- 
>    -o) Pascal Bleser        http://guru.unixtech.be
>    /\\ <address@hidden> <address@hidden>
>   _\_v The more things change, the more they stay insane.
> 






reply via email to

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