Hi Przemek! Ah, ok.. i remember "elpescado" from the pull requests, but i couldn't connect that to "Przemek" :) Welcome on the mailing list!
To my knowledge, there is no good reason why C++11 support is currently disabled in CMakeLists.txt. I guess that until now, nobody really cared to use it.. But after a look at some compatibility charts, i suppose we have to check each feature independently before using it. Which compilers/version should we take into account? For gcc/g++, I would recommend to take the latest version in debian stable as a good policy (currently that should be 4.7). On windows we're using mainly mingw (a gcc port) and clang on OS X. For windows/mingw, we can assume that there are only a handful of people who are trying to build hydrogen. I don't that it will be a big problem for them to use the latest version of mingw.. For OS X, i would propose to have a look at the last two release and their versions of clang. What i don't want is the use of "auto" in audio/midi/backend related code (apart from trivial stuff like iteration variables etc.).. But I haven't used std::thread or other concurrency features of c++11 yet. To me knowledge, this currently not supported by mingw, so this would be a showstopper for us. Beside, there are still a lot of reports about performance problems and bugs on some platforms (like arm). If someone has other concerns or feels that we support some older platforms, please speak up! Best regards, Sebastian On 2015-06-17 14:41, Przemysław Sitek wrote: > Hi, > > I have contributed some patches in the past > (https://github.com/hydrogen-music/hydrogen/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Aelpescado > [2]). I find C++11 big improvement to that language and I've been > wondering what is "official policy" towards that standard. I have > noticed that C++11 support is not enabled in CMakeLists.txt. > > Are there any pre-C+11 platforms we support (Visual Studio?). Would > there be any difference between features implemented in compiler (e.g. > auto keyword) vs. features that require support form runtime library > (eg. std::thread)? > > Przemek > > 2015-06-17 0:25 GMT+02:00 <[email protected]>: > >> Hi Przemek, >> >> to my knowledge, we don't use C++11 features yet in our codebase. >> There >> is no general rule there, but the code must compile on a lot of >> platform/compilers. I think it depends on what you want to do and >> where >> you to implement it. I have no concerns (beside cross platform >> compatibility) for the GUI, but i would be more critic if it comes >> to >> our realtime components.. >> What is your intention? Are you working on a patch/contribution of >> some >> sort? >> >> Best regards, >> Sebastian >> >> On 2015-06-16 16:18, Przemek wrote: >>> Hi, >>> >>> What's the status of C++11 use in Hydrogen? >>> >>> Przemek >>> >>> >> > ------------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Hydrogen-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel [1] >> >> > ------------------------------------------------------------------------------ >> _______________________________________________ >> Hydrogen-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel [1] > > > > Links: > ------ > [1] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel > [2] > https://github.com/hydrogen-music/hydrogen/pulls?utf8=%E2%9C%93&q=is%3Apr+author%3Aelpescado > > ------------------------------------------------------------------------------ > > _______________________________________________ > Hydrogen-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/hydrogen-devel ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Hydrogen-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/hydrogen-devel
