MSVC 2019 Compiler Warnings
Posted: Wed May 17 2023 2:18 am
Hello,
When compiling Copperspice 1.8.1 on Windows 11 with MSVC 2022 (compiling 2019 project) I get the following error related to CS_OBJECT
warning C5030: attribute 'gnu::used' is not recognized
class FileSelectionWidget : public QWidget
{
CS_OBJECT(FileSelectionWidget)
...
}
Where can I find this defined in the source?
Thanks,
Jeff
PS: Thanks for CopperSpice!
When compiling Copperspice 1.8.1 on Windows 11 with MSVC 2022 (compiling 2019 project) I get the following error related to CS_OBJECT
warning C5030: attribute 'gnu::used' is not recognized
class FileSelectionWidget : public QWidget
{
CS_OBJECT(FileSelectionWidget)
...
}
Where can I find this defined in the source?
Thanks,
Jeff
PS: Thanks for CopperSpice!