[TANGO 9] - Error compiling dintrthread

Hi everyone,

We are now upgrading our software from Tango 8 to Tango 9 (9.2.2).

When we try to compile using VC12, we obtain a compilation error from dintrthread.h.

After further investigation, it seems to be coming from the structure : _ShDevIntrTh and more specifically from the variable : DevIntr interface. The variable called "interface" is understood as the key word "Interface" from Visual Studio.

Is this a known problem ?

We just renamed the variable. Is this a good solution ?

Best regards,

Florian Pourchayre
Thales Group
Hi Florian,

I remember we got this problem with Visual Studio 2017.
I think here are the commits which fixed the issue:

https://github.com/tango-controls/cppTango/pull/533/commits/8c12e1080fb98e69a0248304cb5d09cca623c763
https://github.com/tango-controls/cppTango/pull/533/commits/e0d8729f208b08cea8c4c62ba0cffab179192e74
https://github.com/tango-controls/cppTango/pull/533/commits/475c847f4200781dddd42892b264c461803ec4c9

Cheers,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
 
Register or login to create to post a reply.