Quantcast
Channel:
Browsing all 18 articles
Browse latest View live

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 Article



Ok, I can work with that.

Ok, I can work with that.ThanksDarin

View Article

Judith, 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 Article

 

 This 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 Article


Judith, 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 Article

 

 Calling 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 Article


Here 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


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 Article

Ok, I can work with that.

Ok, I can work with that.ThanksDarin

View Article

Judith, 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 Article

 

 This 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 Article

Judith, 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 Article


 

 Calling 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 Article


Here 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
Browsing all 18 articles
Browse latest View live




Latest Images