On 2016-02-01 5:38 PM, Nathan Froyd wrote:
On Mon, Feb 1, 2016 at 4:29 AM, Frédéric Wang <fred.w...@free.fr> wrote:

I tried updating the source code of WOFF2 to the latest upstream
version. Unfortunately, try server builds fail on OSX and mobile devices
because the C++11 class std::unique_ptr does not seem to be available.
IIUC some bugzilla entries and older threads on this mailing list, at
the moment only some of the C++11 features are usable in the mozilla
build system. Does any of the build engineer know whether
std::unique_ptr can be made easily available? Or should we just patch
the WOFF2 library to use of std::vector (as was done in earlier version)


We're working on moving all of our platforms to use a C++11-ish standard
library.  For std::unique_ptr, at least, the best tack is to write a small
polyfill based on mfbt/UniquePtr.h.

Yeah, this seems like a good interim solution. We already have one example of this, and perhaps we should be doing more of it, so that people can just use the standard names.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to