the problem is the
the problem is the parenthesis around the function name, can you change the AddPrefix macro to:#define AddPrefix(x) prefix##xJudy
View ArticleJudith, Thanks for the
Judith, Thanks for the workaround. However,>>#define AddPrefix(x) ( prefix##x )>>...I did a verification with a legacy C++ compiler Borland C++ version 5.5.1:..\Test>bcc32.exe...
View ArticleThis is not a bug. On Windows we emulate the Microsoft compiler and they give an error too.Judy
View Article[SergeyK] ...I consider it as
[SergeyK] ...I consider it as a bug with Intel C++ compiler... ... [JudithW] ...This is not a bug...Judith,You're Not arguing with me. You're arguing with Borland. That is, with a leading ( in the past...
View ArticleJudith, I did a quick
Judith, I did a quick verification with a Microsoft C++ compiler and I reproduced the compilation error:[ Microsoft C++ compiler version 14 - FAILED ] ... ..\Test>cl.exe Main.cpp Microsoft (R)...
View ArticleCalling conventions are not part of the C or C++ standard. They are a Microsoft extension and thus Microsoft implemented the "de facto" standard.
View Article>>...Calling conventions are
>>...Calling conventions are not part of the C or C++ standard...I'm not talking about _cdecl declaration. Extra brackets used around ( prefix##x ) create the Incompatibility problem with all the...
View ArticleHere are results of
Here are results of additional verification:Intel C++ v13.x - Failed ( VS 2008 ) Intel C++ v12.x - Failed ( VS 2005 ) Intel C++ v8.x - Failed ( VS 98 )Microsoft C++ v17.x - Failed ( VS 2012 ) Microsoft...
View Article