zserge / tray

Cross-platform, super tiny C99 implementation of a system tray icon with a popup menu.
MIT License
493 stars 84 forks source link

C++ problems #19

Open KaiH-0 opened 2 years ago

KaiH-0 commented 2 years ago

I keep having loads of errors in C++. Is there anyway to get around this? Has anyone been successful using this in their projects?

The error I keep receiving is "use of designated initializers requires at least '/std:c++20'".

Is there anyway to fix this? I'm guessing its a syntax error due to it being a c file? When I use the compiled project it works but as soon as I change it to a cpp it doesn't work, which I need as all my code is in C++.