[antlr-interest] ANTLR274 for C++: Why do I get those warnings on MSVS.NET 7.1
Francis ANDRE
francis.andre at easynet.fr
Wed Aug 25 07:41:40 PDT 2004
Hi Ric
I am using antlr/cpp generation targeted for MSVS .NET 7.1. Why do I
get those warnings:
d:\antlr-2.7.4\lib\cpp\antlr\ANTLRException.hpp(53) : warning
C4251: 'antlr::ANTLRException::text' :
class 'std::basic_string<_Elem,_Traits,_Ax>' nécessite une interface
DLL pour être utilisé(e) par les clients de
class 'antlr::ANTLRException'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
d:\antlr-2.7.4\lib\cpp\antlr\RecognitionException.hpp(66) : warning
C4251: 'antlr::RecognitionException::fileName' :
class 'std::basic_string<_Elem,_Traits,_Ax>' nécessite une interface
DLL pour être utilisé(e) par les clients de
class 'antlr::RecognitionException'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
It seems that the ANTLR_API should also be placed on th definition of
text and filename but when doing so, there is a compile error!!
Any suggestions???
TIA
FA
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list