[OpenAFS] Fwd: [OpenAFS-port-darwin] Compiler running off the end of file

RD Schaffer R.D.Schaffer@cern.ch
Mon, 9 Dec 2002 23:35:25 +0100


Hi there,

   Sorry for appearing a bit impatient, but I have not had a reply from 
the port-darwin list. Anybody have an idea of what is happening here?  
(PS typo: using gcc 3.1 not 3.2).

		thanks, RD Schaffer

Begin forwarded message:

> From: RD Schaffer <R.D.Schaffer@cern.ch>
> Date: Fri Dec 6, 2002  15:16:44 Europe/Paris
> To: port-darwin@openafs.org
> Subject: [OpenAFS-port-darwin] Compiler running off the end of file
>
> Hi there,
>
>   I am using a powerbook G4 running 10.2.2 having loaded the afs 10.2 
> version. This has been working fine for editing/copying/moving files. 
> I have now tried to build some of our software which is commonly kept 
> in afs and normally build on linux. I am using the 10.2 mac 
> developer's kit with gcc 3.2. What I see is that some, but not all C++ 
> files "run off the end" of the file with errors:
>
> cd ../Darwin/; c++ -c -I../src/  -o cmt.o           ../src/cmt.cxx
> cd ../Darwin/; c++ -c -I../src/  -o cmt_awk.o           
> ../src/cmt_awk.cxx
> ../src/cmt_awk.cxx:578:2: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\200' in program
> ../src/cmt_awk.cxx:578: syntax error before `/' token
> ../src/cmt_awk.cxx:578:6: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578:10: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\1' in program
> ../src/cmt_awk.cxx:578:22: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\230' in program
> ../src/cmt_awk.cxx:578:26: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\1' in program
> ../src/cmt_awk.cxx:578:30: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\1' in program
> ../src/cmt_awk.cxx:578: stray '\370' in program
> ../src/cmt_awk.cxx:578:34: warning: null character(s) ignored
> ../src/cmt_awk.cxx:578: stray '\1' in program
>
> where the first file (just a main program) compiles alright and the 
> second starts having problems at 578:2 which is the last and empty 
> line.
>
> I have been able to compile these same files locally on my mac - gcc 
> is ok.
> I have been able to compile these same files running Arla on afs - 
> looks like OpenAFS is causing my problem.
>
> Any ideas?   thanks, RD Schaffer
>
> Email:    R.D.Schaffer@cern.ch
> Address:  LAL BAT 200        tel(Orsay): 33-1 64 46 8378
>                   BP 34                     tel(cern) : 41-22 76 71267
>                  91898 ORSAY
>                  France
>
> _______________________________________________
> port-darwin mailing list
> port-darwin@openafs.org
> https://lists.openafs.org/mailman/listinfo/port-darwin
>
>
Email:    R.D.Schaffer@cern.ch
Address:  LAL BAT 200        tel(Orsay): 33-1 64 46 8378
                   BP 34                     tel(cern) : 41-22 76 71267
                  91898 ORSAY
                  France