[antlr-interest] ANTLR problem

Sohail Somani sohail at taggedtype.net
Sun Jul 30 11:36:33 PDT 2006


On Sun, 2006-07-30 at 22:36 +0500, Zulfiqar Malik wrote:
> Ok, i finally found out the problem and this will probably serve as a
> warning to all those starting out with VS8.0 project.
> I was getting all sort of weird errors, CRT exceptions and the likes
> and the scenarios were not consistent. You know the sort of errors you
> get when you try to compile different projects with different
> C-runtime. Obviously i was compiling with /MD compiler option for all
> dependent projects. It turns out that the antlr support library (for
> which i created the dll project using VS8.0) had the following option
> turned on (which was not in the application using this dll)
> 
> Project Properties:
> ->C/C++
> ->->Language (Treat wchar_t as built-in type)
> 
> was set to Yes. This was turned off in the application and hence the
> weird errors. Once i turned it off all the errors got fixed, and
> turning it off reduced my dll size from 560KB to 180KB!!! Anyways,
> thanks for help.

Thanks for being a good mailing list citizen! Do you think you can post
this on the wiki? Though I generally build all third party libraries
myself, others may find it useful: www.antlr.org/wiki

Sohail



More information about the antlr-interest mailing list