|
Boost Users : |
Subject: Re: [Boost-users] [boost] integrating NaCl support into boost
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2015-09-16 02:53:07
On 03-Sep-15 6:10 AM, Konstantin Ivlev wrote:
> Hi boost community,
>
> how about integrating NaCl support patches into the boost main-line
> (trunk/master), I am talking about these NaCl ports patches:
>
> https://chromium.googlesource.com/external/naclports/+/master/ports/boost
Beside suggestion to raise this on boost-devel, I'd also suggest you explain what
these patches are. I guess that NaCl is Google's Native Client thing, but beyond
that, I have no idea what these patches are and what they do.
Also, some quick comments:
- # if defined(__CYGWIN__) || defined(__USE_GNU)
+ # if defined(__CYGWIN__) || defined(__USE_GNU) || defined _NEWLIB_VERSION
This hunk better use the same formatting as the rest of the Boost code, that is
# if defined(__CYGWIN__) || defined(__USE_GNU) || defined(_NEWLIB_VERSION)
There are several other places in the patch where I'd suggest using this style as opposed
to #ifndef or #ifdef
- case * : option = -pthread ; libs = rt ;
+ case * : option = -pthread ;
}
This hunk can't be applied as is, you'd need to introduce a new case clause to catch NaCL.
- Volodya
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net