What's your vcproj look like for the myFile.cpp entry?
 Is there any new lines like 
"myFile.cpp
"
??  VisualStudio .net seems to ignore whitespace
issues, whereas nant stumbles over them...

Marc

--- Eric Fetzer <[EMAIL PROTECTED]> wrote:

> My setup:
> 
> 2000 Server
> NAnt 12/2/05 nightly build
> 
> I'm getting an error I absolutely don't understand:
> 
> <!--snip-->
> 
>                    [cl] myFile.cpp
>                    [cl]
> d:\Build\Project\MyProject\myFile.cpp(0) : error
> C2059: syntax error : 'newline'
>                    [cl]
> d:\Build\Project\MyProject\myFile.cpp(0) : fatal
> error
> C1903: unable to recover from previous error(s);
> stopping compilation
> 
> <!--end snip-->
> 
> If after this failure I use the <cl> task and
> compile
> this file by itself, it's successful and then if I
> run
> the Solution task once again, it's successful also.
> 
> Does anyone have any clue?
> 
> Thanks,
> Eric
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
>
-------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do
> you grep through log files
> for problems?  Stop!  Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the 
> web.  DOWNLOAD SPLUNK!
>
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/nant-users
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to