
Thank you very much , Finally every thing compiled correctly now I am able to use Boost.Multiindex and Boost.Regex together. Thanks again Best Regards Mahesh Karanth Joaqu�n M� L�pez Mu�oz <joaquin@tid.es> wrote: mahesh karanth ha escrito:
I removed all using statements in my workspace and updated the corresponding references. Everthing went without any problems but at the end I got 2 errors
Error dump:
C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1087) : error C2143: syntax error : missing ';' before 'constant' C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.h(1087) : fatal error C1004: unexpected end of file found Error executing cl.exe.
do you have any idea about this? I am using VC 6.
The offending piece of wtypes.h looks like: typedef struct tagDEC { ... } DECIMAL; which directly clashes with your own definition of DECIMAL in URLHandler.h: #define DECIMAL 1 The solution is to use a different name for your macro. The usual recommendation to have macro names with low probability of collision is adding some weird and hopefully unique prefix, for instance some abbreviation of the name of the library or the company. Joaqu�n M L�pez Mu�oz Telef�nica, Investigaci�n y Desarrollo _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost --------------------------------- Get amazing travel prices for air and hotel in one click on Yahoo! FareChase