Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2014-01

Illegal chars in cwstring.pp when compiling trunk

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Ring

Does not seem to be a good day today to compile trunk ;-)

On my Mac I get this error Message:

cwstring.pp(1,1) Fatal: illegal character "'�'" ($BB) cwstring.pp(1,1) Fatal: Compilation aborted
make[5]: *** [cwstring.ppu] Error 1
make[4]: *** [darwin_all] Error 2
make[3]: *** [rtl] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [base.build-stamp.arm-embedded] Error 2

After removing the extra chars on the beginning of the file this part compiles fine again.

Michael

Reply by email

Marco van de Voort
to Michael Ring

In our previous episode, Michael Ring said:

Show quoted text 15 lines
Does not seem to be a good day today to compile trunk ;-) On my Mac I get this error Message: cwstring.pp(1,1) Fatal: illegal character "'?'" ($BB) cwstring.pp(1,1) Fatal: Compilation aborted make[5]: *** [cwstring.ppu] Error 1 make[4]: *** [darwin_all] Error 2 make[3]: *** [rtl] Error 2 make[2]: *** [cycle] Error 2 make[1]: *** [compiler_cycle] Error 2 make: *** [base.build-stamp.arm-embedded] Error 2 After removing the extra chars on the beginning of the file this part compiles fine again.

A BOM was inserted for some reason, sorry for that. Fixed.

Reply by email

Sven Barth
to Marco van de Voort
"Marco van de Voort" wrote 19 lines
In our previous episode, Michael Ring said: > Does not seem to be a good day today to compile trunk ;-) > > On my Mac I get this error Message: > > cwstring.pp(1,1) Fatal: illegal character "'?'" ($BB) > cwstring.pp(1,1) Fatal: Compilation aborted > make[5]: *** [cwstring.ppu] Error 1 > make[4]: *** [darwin_all] Error 2 > make[3]: *** [rtl] Error 2 > make[2]: *** [cycle] Error 2 > make[1]: *** [compiler_cycle] Error 2 > make: *** [base.build-stamp.arm-embedded] Error 2 > > After removing the extra chars on the beginning of the file this part > compiles fine again. A BOM was inserted for some reason, sorry for that. Fixed.

Isn't the compiler normally able to handle that? O.o

Regards,
Sven

Reply by email

Marco van de Voort
to Sven Barth

In our previous episode, Sven Barth said:

Show quoted text 6 lines
> > After removing the extra chars on the beginning of the file this part > > compiles fine again. > > A BOM was inserted for some reason, sorry for that. Fixed. Isn't the compiler normally able to handle that? O.o

Not when notepad converted it to windows-125x :-)

Reply by email

Sven Barth
to Marco van de Voort
Marco van de Voort wrote 9 lines
In our previous episode, Sven Barth said: >>> After removing the extra chars on the beginning of the file this part >>> compiles fine again. >> >> A BOM was inserted for some reason, sorry for that. Fixed. > > Isn't the compiler normally able to handle that? O.o Not when notepad converted it to windows-125x :-)

Ok, that's a good reason ^^

Regards,
Sven

Reply by email