This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [c++0x] <date_time> implementation, take 2
Hi Pedro,
> I looked for the mangled name for get_system_time using nm and grep on
> the shared object.
>
> I can't find the string ticks_per_second and friends using this trick.
>
> I notice these static constants are defined inline; will they every
> produce a symbol in the shared object?
Indeed, they will not if you don't provide a definition, which is
required, that's my point. You have simply to add the definitions to
your the src/ file. See, for examples, ios_base::boolalpha,
ios_base::dec, etc, in src/ios.cc (and include/bits/ios_base.h).
Paolo.