Hi,
I have been using Textpad. It is really a wonderful editor.
However, I have experienced some problems.
When I write my source code...typically C and C++ and
compile using gcc or g++ with the -Wall -pedantic flags
(I have to use these flags because of my school requirement),
errors such as
Warning : Carriage return on ....preprocessor directive
or file does not end with newline problems.
At my level of understanding, I got no idea what are these problems but the thing is I have to normally open my files
in a proper Unix editor eg vi, vim and resave the file and
the error will be gone.
I do not experience these errors if the same files are written
in a Unix editor.
Please advise
Sincerely
Paul
Carriage return on preprocessor directive/ newline character
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Andreas
Re: Carriage return on preprocessor directive/ newline chara
Two things:
1) make sure the files are saved with "Unix"
(you can set this in the document class for your files)
2) set Textpad to automatically terminate hte last line of the file
(on the Editor page of Preferences dialog)
1) make sure the files are saved with "Unix"
(you can set this in the document class for your files)
2) set Textpad to automatically terminate hte last line of the file
(on the Editor page of Preferences dialog)