Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Semantic highlight
mistar:
Oh... I forgot: you need gcc >=4.6 with -std=c++0x or -std=c++11 to compile the plugin (or other compiler supporting 'auto' and simple lambdas).
oBFusCATed:
--- Quote from: mistar on February 20, 2013, 10:26:18 am ---Oh... I forgot: you need gcc >=4.6 with -std=c++0x or -std=c++11 to compile the plugin (or other compiler supporting 'auto' and simple lambdas).
--- End quote ---
Do you have any plans to remove all these c++11 things in the future, because some of us are stuck on older distros, which have only gcc-4.1 or gcc-4.4?
mistar:
--- Quote from: oBFusCATed on February 20, 2013, 11:41:51 am ---
--- Quote from: mistar on February 20, 2013, 10:26:18 am ---Oh... I forgot: you need gcc >=4.6 with -std=c++0x or -std=c++11 to compile the plugin (or other compiler supporting 'auto' and simple lambdas).
--- End quote ---
Do you have any plans to remove all these c++11 things in the future, because some of us are stuck on older distros, which have only gcc-4.1 or gcc-4.4?
--- End quote ---
Hmm... I probably could... and I'll try.
But... Do you have any plans to migrate to *newer* versions of gcc in the future? ;)
4.6 is already stable ;)
I recommend using C++11 features (e.g. rvalue references) that allow for cleaner and faster code.
oBFusCATed:
--- Quote from: mistar on February 20, 2013, 01:32:32 pm ---But... Do you have any plans to migrate to *newer* versions of gcc in the future? ;)
--- End quote ---
Yes, gcc4.4.6 will be my next gcc. Unfortunately if you're doing commercial software you have to work on older distros.
mistar:
The code without c++0x features attached.
One more thing to config: in file CompileOptions.cpp change
#define GCC_VERSION_STR "4.6.3"
to your version (it is used in a workaround for clang using libstdc++).
And don't try to close editors while there are pending changes...
I'm working on it ;)
EDIT: fixed crashes on editor close.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version