Hi Stuart,

  Thanks Stuart. That works for me. Now it is compiling perfectly fine.

Thanks,
Jrk



________________________________
From: Stuart Dootson <[email protected]>
To: J.R Karthikeyan <[email protected]>
Cc: antlr-interest <[email protected]>
Sent: Sun, 22 August, 2010 4:26:50 AM
Subject: Re: [antlr-interest] how to generate C++ file




On Sun, Aug 22, 2010 at 4:32 AM, J.R Karthikeyan <[email protected]> wrote:

Hi,
>
> Just want to make sure that , this means that I can't use antlr with visul
>studio 2005. Because my entire project is in visual studio 2005 and this parser
>is going to be one of the module for that project. So can you please let me 
know
>if I can use this with visual studio 2005.
>
>
>Thanks,
>Jrk
>
>
>
>

jrk - you can use Antlr with Visual Studio - I know, I've done so in the past. 
Your compiler errors are coming because the default options applied to a VS C++ 
project include pre-compiled header support.

The easiest way around this is to tell VS that your Antlr generated files don't 
use the pre-compiled headers. To do that, select the Antlr source files in the 
Solution Explorer, then right-click and select Properties. After that, select 
the C++->Precompiled Headers property page and then in the 'Create/Use 
Precompiled Header" property, select the option that says something like "Not 
using precompiled headers".

Stuart



List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to