Dev-C++ fails to compile anything if the current user
name contains an ampersand.
See for example
https://sourceforge.net/forum/forum.php?thread_id=1170103&forum_id=48211
Apparently, quite a few people have this kind of user name.
Logged In: YES
user_id=301445
This problem comes from handling "&" keyword improperly in
Makefile because the way to handle filename in linux and
windowz is different.
In my experience, the best way to eliminate the problem of
special character in Windowz is to use quotation mark on the
filename.
In the 743 in utils.pas file
{ GenMakePath: convert a filename to a format that can be
used by make }
function GenMakePath(FileName: String): String;
begin
Result:=StringReplace(Filename, '\', '/', [rfReplaceAll]);
// if Pos(' ', Filename)>0 then
Result := '"'+Result+'"';
end;
After commenting the line for "if Pos(...", all source filenames
and object filenames were created with quotation mark and I
can compile successfully.
Logged In: YES
user_id=609236
it was reported before, there was one more problem related
to this
Logged In: YES
user_id=609236
fixed in cvs: http://www.castlesofpoland.com/dev-
cpp/devcpp.exe
Logged In: YES
user_id=682737
Take a look at this:
https://sourceforge.net/forum/forum.php?thread_id=1209104&forum_id=48211
Adrian
Logged In: YES
user_id=609236
Adrian,
Has he tried using cvs version?
Compiling resources will not work anyway because of bug in
windres:
http://sourceforge.net/tracker/?group_id=10639&atid=110639&func=detail&aid=1075368