Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.4.0, 5.5.0
-
None
-
Windows 10, Visual Studio 2013+
Description
When I try to compile anything that includes this header file I get compiler errors:
Error 1 error C2332: 'struct' : missing tag name (C:\Users\Petr Bena\Documents\quassel\src\qtui\statusnotifieritemdbus.cpp) d:\libs\qt\5.5\msvc2013_64\include\qtdbus\qdbusconnection.h 144
This is caused by a variable name "interface" used in this header which became a C++ Visual Studio keyword: https://msdn.microsoft.com/en-us/library/737cydt1.aspx
the whole "interface" word is now interpreted in a different way and the code in header causes a syntax error.
Solution might be renaming it from "interface" to something else, like "qinterface" or whatever.
Attachments
Issue Links
- is replaced by
-
QTBUG-48351 Mingw keyword "interface" conflict in QtDBus
- Closed