-
-
Notifications
You must be signed in to change notification settings - Fork 447
Closed
Description
Hi!
I'm getting a compile warning with latest master that seems to point out something important:
[..]/src/libprojectM/PCM.hpp:50:23: warning: attribute ignored in declaration of ‘class Pcm’ [-Wattributes]
50 | PROJECTM_EXPORT class Pcm
| ^~~
[..]/src/libprojectM/PCM.hpp:50:23: note: attribute for ‘class Pcm’ must follow the ‘class’ keyword
And a second time for a different class:
[..]/src/libprojectM/ProjectM.hpp:69:23: warning: attribute ignored in declaration of ‘class ProjectM’ [-Wattributes]
69 | PROJECTM_EXPORT class ProjectM
| ^~~~~~~~
[..]/src/libprojectM/ProjectM.hpp:69:23: note: attribute for ‘class ProjectM’ must follow the ‘class’ keyword
If >=4.0 is supposed to only expose C API but no C++ then PROJECTM_EXPORT can just be dropped from these classes altogether? Or should just the order be fixed?
Thanks and best, Sebastian
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done