This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Two or three initial observations on the fp prining patch
Paolo Carlini wrote:
To this effect, we can included 'tm.h' in floatconv.cc (*), since it
provides those definitions.
Alternately, we can include 'tm.h' in a snipped processed at library
configure time, which basically would have the purpose of passing down
to the library only the small subset of definitions we really need for
floatconv.cc.
This solution has the advantage that avoids adding the path to
build-dir/gcc to the include paths used when building the library and
also avoids adding -DIN_GCC to Makefile.in (*).
Paolo.
(*) Interestingly, libobjc does this, however.