|
Boost-Build : |
From: Ilya Sokolov (fal_delivery_at_[hidden])
Date: 2008-07-20 08:40:13
Jurko GospodnetiÄ wrote:
> Hi Ilya.
>
>> qcc also have "template-depth".
>
> I looked at this toolset and it seems to pass this parameter to the
> compiler in the following format:
>
> -Wc,-ftemplate-depth-100
>
> As I do not have access to this compiler or its documentation I do not
> really know how to interpret or change this setting so I have a few
> questions:
>
> What does the -Wc part stand for?
From http://www.qnx.com/developers/docs/6.3.2/neutrino/utilities/q/qcc.html
\quote
-W phase,arg[,arg ...]
Pass the specified option and its arguments through to a specific phase:
p -- preprocessor
c -- compiler
l -- linker
a -- assembler.
For example, if you want to pass the -MD option to the compiler, specify
-Wc,-MD on the command line for qcc.
\end_of_quote
> Is this just one setting or two?
>
> If someone removes the template-depth property, should the -Wc
> parameter be left on the command line? Or should it be removed as well?
>
> Should this perhaps be changed to: '-Wc -ftemplate-depth-100' ?
>
>
> Without this information the best I can do is introduce a
> TEMPLATE_DEPTH flag for this compiler as done in the gcc toolset instead
> of integrating this option into the OPTIONS flag.
>
> Note that this toolset does not appear to have any precompiled header
> support so there no problem with the compile.c++.pch action like there
> is in the gcc toolset.
>
> I'll be posting an updated patch shortly. Just need to test it a bit
> first...
>
> Best regards,
> Jurko GospodnetiÄ
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk