I am getting compile errors when using --any with --windows-dll-with export when generating idl. I am using VS2005 with mico-070629. Any help would be appreciated.
Here is a test case that reproduces the error. test.idl module Test { typedef sequence<long> LongSeq; }; compile using idl --poa --windows-dll-with-export TestExport --c++-suffix cpp --any test.idl cl /Od /I. /I"d:\mico\include" /DBUILD_TESTEXPORT_DLL /c test.cpp E:\mico>cl /Od /I. /I"D:\mico\include" /DBUILD_TESTEXPORT_DLL /c test.cpp Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved. test.cpp C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(326) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(341) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\xlocale(358) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 8\VC\INCLUDE\istream(1075) : warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc .\test.h(52) : error C2375: 'operator <<=' : redefinition; different linkage D:\mico\include\mico/basic_seq.h(178) : see declaration of 'operator <<=' .\test.h(53) : error C2375: 'operator <<=' : redefinition; different linkage D:\mico\include\mico/basic_seq.h(180) : see declaration of 'operator <<=' .\test.h(54) : error C2375: 'operator >>=' : redefinition; different linkage D:\mico\include\mico/basic_seq.h(182) : see declaration of 'operator >>=' .\test.h(55) : error C2375: 'operator >>=' : redefinition; different linkage D:\mico\include\mico/basic_seq.h(184) : see declaration of 'operator >>=' Thanks, Kevin
_______________________________________________ Mico-devel mailing list Mico-devel@mico.org http://www.mico.org/mailman/listinfo/mico-devel