|
Boost : |
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2002-07-20 21:13:25
> Ahah, got it, I've checked in a slightly different patch so that it checks
> for _STLP_VENDOR_GLOBAL_CSTD, can you check to see if this works for you
> now?
It seems to work. Config test is passing. But based on this I want to
discuss several other issues:
1. Doesn't msvc-stlport tools should use the same flag
_STLP_VENDOR_GLOBAL_CSTD?
2. In general current situation with stlport based toolsets seems
unaceptable. Why do we need to repeat this work for every toolset: msvc,
gcc, sunpro .... There exist some differencies but they are minimal. I am
attaching of sunpro-stlport toolset definition that has stlport
configurations factored out. I am gonna prepare docs for it and present for
inclusion into tools/build. But I think that it worth considering that all
stlport based tools use the same confoguration
3. Another topic related to stlport configuration. Following statement:
#if !defined(_STLP_MEMBER_TEMPLATE_CLASSES)
# define BOOST_NO_STD_ALLOCATOR
#endif
does not seems to be true. At least for sunpro compiler: allocator_test
seems to pass (it was not) if comment it out (see
http://lists.boost.org/MailArchives/boost/msg32013.php)
4. I could not compile any_test with sunpro and stlport if I define
_STLP_NO_THREADS for <threading>single in toolset definition. After some
investigation I found that the reason is that following two lines fails to
compile:
#include <cwchar> // this guy came from STLPort headers
#include <unistd.h> // this guy came from boost/config/posix_features.hpp
This could be a STLPort (or SunPro bug), but here I would like to ask
whether it is required to include <unistd.h> there. I am not using this
header in majority of the cases why should I pay for it?
Gennadiy
begin 666 sunpro-stlport-tools.jam
M(R!T:&ES(&ES('-I;7!L>2!A;B!E>'1E;G-I;VX@=&\@=&AE('-U;G!R;R!T
M;V]L<V5T+B *97AT96YD<RUT;V]L<V5T('-U;G!R;R ["@I#55)27U1/3TQ3
M150@(" @(" @(" @/2!S=6YP<F\M<W1L<&]R=" ["E-43%!/4E1?3$E"7T)!
M4T5?3D%-12 ]('-T;'!O<G1?<W5N<')O(#L*"B,@8G)I;F<@:6X@=&AE(%-4
M3%!O<G0_at_8V]N9FEG=7)A=&EO;@I314%20T@@;VX@<W1L<&]R="YJ86T@/2 D
M*$)/3U-47T)524Q$7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T=7)N<R!A('!A=&@@=VAI8V@@:7,@87-S=6UE9"!T;R!B92!T:&4@
M<F]O="!O9B!T:&4_at_4U1,<&]R="!I;G-T86QL871I;VXN"B,*(R!4:&4@<F5S
M=6QT(&1E<&5N9',@;VX@=&AE(&-U<G)E;G0@=F5R<VEO;B!8+ED@;V8_at_4U1,
M<&]R="X*(R Q+B!)9B!G;&]B86P_at_4U1,4$]25%\\6"Y9/E]0051((&ES('-E
M="P@<F5T=7)N(&ET+@HC(#(N($EF(&=L;V)A;"!35$Q03U)47U!!5$@@:7,@
M<V5T+"!R971U<FX@)"A35$Q03U)47U!!5$@I+U-43'!O<G0M/%_at_N63X*(PIR
M=6QE(&=E="US=&QP;W)T+7)O;W0*>PH@(" @;&]C86P@=F5R<VEO;B ](%L@
M9V5T+79A;'5E<R \<W1L<&]R="UV97)S:6]N/B Z("0H9T)524Q$7U!23U!%
M4E1)15,I(%T_at_[hidden]*(" @(&QO8V%L('!A=&@@.PH@(" @<&%T:" _/2 D*%-4
M3%!/4E1?)"AV97)S:6]N*5]0051(*2 ["B @("!P871H(#\]("0H4U1,4$]2
M5%]0051(*20H4TQ!4T_at_I4U1,<&]R="TD*'9E<G-I;VXI(#L*(" @( H@(" @
M:68@)"AV97)S:6]N*2 F)B A("0H<&%T:"D*(" @('L*(" @(" @("!L;V-A
M;"!D;VQL87(@/2 B)"(@.PH@(" @(" @($5#2$\@*BHJ*B!.;R!35$Q03U)4
M7U!!5$@@8V]N9FEG=7)E9"X@*BHJ(#L*(" @(" @("!%0TA/(%1O(&-O;F9I
M9W5R92!35$Q0;W)T(&9O<B!U<V4@=VET:"!T:&4@)"A#55)27U1/3TQ3150I
M('1O;VQS970L('1H92!F;VQL;W=I;F<@=F%R:6%B;&5S(&-A;B!B92!S970Z
M(#L*(" @(" @("!%0TA/(#L*(" @(" @("!%0TA/(%-43%!/4E1?4$%42" M
M($$@9&ER96-T;W)Y(&-O;G1A:6YI;F<@870@;&5A<W0@;VYE('-U8F1I<F5C
M=&]R>2!O9B!T:&4_at_9F]R;2 O4U1,4&]R="T\=F5R<VEO;CX_at_[hidden]@(" @(" @
M($5#2$\@(B @(" @(" @=VAE<F4_at_4U1,4&]R="!I;G-T86QL871I;VYS(&-A
M;B!B92!F;W5N9"XB(#L*(" @(" @("!%0TA/(#L*(" @(" @("!%0TA/(%-4
M3%!/4E1?/'9E<G-I;VX^7U!!5$@@+2!4:&4_at_9&ER96-T;W)Y('=H97)E('1H
M92!S<&5C:69I8R!35$Q0;W)T(#QV97)S:6]N/B!I;G-T86QL871I;VX_at_8V%N
M(&)E(#L*(" @(" @("!%0TA/("(@(" @(" @(&9O=6YD+"!I;B!C87-E('1H
M97)E(&ES(&YO(&-E;G1R86P@;&]C871I;VX_at_87!P<F]P<FEA=&4_at_9F]R(%-4
M3%!/4E1?4$%42"P_at_86)O=F4L(&]R(&$B(#L*(" @(" @("!%0TA/(" B(" @
M(" @("!P87)T:6-U;&%R('9E<G-I;VXG<R!I;G-T86QL871I;VX@:7,@;F]T
M(&QO8V%T960@:6X@=&AE('5S=6%L('!L86-E+B(@.PH@(" @(" @($5#2$\@
M.PH@(" @(" @($5#2$\@4U1,4$]25%]615)324].("T_at_5&AE('9E<G-I;VX@
M;V8_at_4U1,4&]R="!I;B!U<V4_at_8GD@9&5F875L="X_at_1&5F875L=',@=&\@7"(T
M+C4N,UPB+B!/=&AE<B ["B @(" @(" @14-(3R B(" @(" @('9A;'5E<R!C
M86X_at_8F4@<V5L96-T960@:6X@<&%R86QL96P@<V5T=&EN9R!T:&4_at_8G5I;&0@
M<')O<&5R='D@/'-T;'!O<G0M=F5R<VEO;CX@=&\B(#L*(" @(" @("!%0TA/
M("(@(" @(" @=F%L=65S(&9R;VT@=&AE(&QI<W0@;V8@)"AD;VQL87(I*%-4
M3%!/4E1?5D524TE/3E,I(B ["B @(" @(" @14-(3R ["B @(" @(" @14-(
M3R!35$Q03U)47U9%4E-)3TY3("T_at_06QT97)N871E('9E<G-I;VYS(&]F(%-4
M3'!O<G0_at_879A:6QA8FQE(&]N('1H:7,@;6%C:&EN92X_at_1&5F875L=',@=&\@
M7"(T+C5<(BX_at_[hidden]@(" @(" @($5#2$\@.PH@(" @(" @($5#2$\@(DYO=&4@
M=&AA="!35$Q0;W)T(&EO<W1R96%M<R!A<F4@+VYO="\@:6X@=7-E(&)Y(&1E
M9F%U;'0N(%1O(&5N86)L92!T:&5M+"!Y;W4@;75S="!P;&%C92(@.PH@(" @
M(" @($5#2$\@(B @(" @(" @/'-T;'!O<G0M:6]S=')E86T^;VX@:6X@>6]U
M<B!"54E,1"!V87)I86)L92!O<B!I;B!T87)G970@<F5Q=6ER96UE;G1S+B(@
M.PH@(" @(" @($58250_at_[hidden]@(" @?0H*(" @(')E='5R;B D*'!A=&@I(#L*
M?0H*(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,C(R,*"E-43%!/4E1?
M24Y#3%5$15]$25)%0U1/4ED@/ST@<W1L<&]R=" ["E-43%!/4E1?3$E"7T1)
M4D5#5$]262 _/2!L:6(@.PH*9FQA9W,@)"A#55)27U1/3TQ3150I(%-41$A$
M4E,@.B!;(&IO:6X_at_6R!G970M<W1L<&]R="UR;V]T(%T@)"A33$%32"DD*%-4
M3%!/4E1?24Y#3%5$15]$25)%0U1/4EDI(%T_at_.PIF;&%G<R D*$-54E)?5$]/
M3%-%5"D_at_3$E"4$%42" \<W1L<&]R="UI;W-T<F5A;3YO;B Z(%L@:F]I;B!;
M(&=E="US=&QP;W)T+7)O;W0_at_72 D*%-,05-(*20H4U1,4$]25%],24)?1$E2
M14-43U)9*2!=(#L*"F9L86=S("0H0U524E]43T],4T54*2!$149)3D53(#QS
M=&QP;W)T+6EO<W1R96%M/F]F9B Z(%]35$Q07TY/7T]73E])3U-44D5!35,]
M,2!?4U1,4%](05-?3D]?3D577TE/4U1214%-4STQ(#L*9FQA9W,@)"A#55)2
M7U1/3TQ3150I($1%1DE.15,@/'-T;'!O<G0M97AT96YS:6]N<SYO9F8_at_.B!?
M4U1,4%].3U]%6%1%3E-)3TY3/3$@.PIF;&%G<R D*$-54E)?5$]/3%-%5"D@
M1$5&24Y%4R \<W1L<&]R="UA;F%C:')O;FES;7,^;V9F(#H_at_7U-43%!?3D]?
M04Y!0TA23TY)4TU3/3$@.PIF;&%G<R D*$-54E)?5$]/3%-%5"D_at_1$5&24Y%
M4R \<W1L<&]R="UC<W1D+6YA;65S<&%C93YG;&]B86P_at_.B!?4U1,4%]614Y$
M3U)?1TQ/0D%,7T-35$0],2 ["F9L86=S("0H0U524E]43T],4T54*2!$149)
M3D53(#QE>&-E<'1I;VXM:&%N9&QI;F<^;V9F(#H_at_7U-43%!?3D]?15A#15!4
M24].4STQ(#L*9FQA9W,@)"A#55)27U1/3TQ3150I($1%1DE.15,@/'-T;'!O
M<G0M9&5B=6<M86QL;V,^;VX_at_.B!?4U1,4%]$14)51U]!3$Q/0STQ(#L*9FQA
M9W,@)"A#55)27U1/3TQ3150I($1%1DE.15,@/')U;G1I;64M8G5I;&0^9&5B
M=6<@.B!?4U1,4%]$14)51STQ(%]35$Q07T1%0E5'7U5.24Y)5$E!3$E:140]
M,2 ["F9L86=S("0H0U524E]43T],4T54*2!$149)3D53(#QT:')E861I;F<^
M<VEN9VQE(#H_at_7U-43%!?3D]?5$A214%$4STQ(#L*"F9L86=S("0H0U524E]4
M3T],4T54*2!&24Y$3$E"4R \<W1L<&]R="UI;W-T<F5A;3YO;B\\<G5N=&EM
M92UB=6EL9#YD96)U9R @(" Z("0H4U1,4$]25%],24)?0D%315].04U%*5]S
M=&QD96)U9R ["F9L86=S("0H0U524E]43T],4T54*2!&24Y$3$E"4R \<W1L
M<&]R="UI;W-T<F5A;3YO;B\\<G5N=&EM92UB=6EL9#YD96)U9R @(" Z("0H
M4U1,4$]25%],24)?0D%315].04U%*2 ["F9L86=S("0H0U524E]43T],4T54
M*2!&24Y$3$E"4R \<W1L<&]R="UI;W-T<F5A;3YO;B\\<G5N=&EM92UB=6EL
H9#YR96QE87-E(" Z("0H4U1,4$]25%],24)?0D%315].04U%*2 ["@``
`
end
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk