Bugs item #1169601, was opened at 2005-03-24 02:53
Message generated for change (Comment added) made by drieseng
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169601&group_id=31650

Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: Jack (jkordas)
Assigned to: Nobody/Anonymous (nobody)
Summary: exception from commented-out include file

Initial Comment:
This is in the nightly build, nant-0.85-nightly-2005-03-23.

If you have a line in a .cpp file such as 

//#include "foo/bar.h" and foo.bar.h does not exist, you 
get an error compiling when nothing should happen 
because of the comment.

Problem is in 
NAnt.VisualCpp.Tasks.ClTasks.FindUpdatedInclude()

_includeRegex must not be screening out the above.

If I change this to //#include "bar.h" I don't see this 
problem.

----------------------------------------------------------------------

>Comment By: Gert Driesen (drieseng)
Date: 2005-03-24 07:38

Message:
Logged In: YES 
user_id=707851

Nevermind, I found the cause.

----------------------------------------------------------------------

Comment By: Gert Driesen (drieseng)
Date: 2005-03-24 07:20

Message:
Logged In: YES 
user_id=707851

I agree that we should be screening out commented 
includes, but I don't see what exception you'd get from the 
example you provided.

Can you provide more information on that ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1169601&group_id=31650


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to