This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Solaris 2.6 Compilation Problem


Manfred Wolter <m-wolter@gmx.de> writes:

> As a first attempt I tried to compile the following simple code
> (anzahl.c)

[...]

> bash-2.01# gcc anzahl.c
> anzahl.c:1: parse error before character 0240
> In file included from anzahl.c:2:
> /usr/include/stdio.h:261: parse error before `__va_list'
> /usr/include/stdio.h:262: parse error before `__va_list'
> /usr/include/stdio.h:265: parse error before `__va_list'
> /usr/include/stdio.h:267: parse error before `__va_list'
> anzahl.c:3: parse error before character 0240
> anzahl.c:8: warning: data definition has no type or storage class
> anzahl.c:8: parse error before character 0240

gcc is saying that you have stray occurances of character 0240
(non-breaking space in ISO 8859-1, I believe) in your source file, which
are interfering with its ability to parse your code.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]