C++11 help needed for a new qTox port

Marko Käning MK-MacPorts at techno.ms
Mon Nov 24 11:53:30 PST 2014


Hi devs,

I am trying to set up a new port file for qTox.
Unfortunately I struggle with C++11 stuff - see below.

What can I do to make the code compile for C++11?

Greets,
Marko


---

:info:build In file included from src/widget/form/settings/generalform.cpp:21:
:info:build ./src/misc/settings.h:25:21: warning: scoped enumerations are a C++11 extension [-Wc++11-extensions]
:info:build namespace Db { enum class syncType; }
:info:build                     ^
:info:build ./src/misc/settings.h:25:27: error: ISO C++ forbids forward references to 'enum' types
:info:build namespace Db { enum class syncType; }
:info:build                           ^


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 847 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20141124/456fc3cb/attachment.obj>


More information about the macports-dev mailing list