RFC: Mirror system header exposure in libstdc++-v3's headers

Benjamin Kosnik bkoz@redhat.com
Mon Apr 7 16:08:00 GMT 2003


>Index: include/c_compatibility/math.h

Does this mean that you are going to be using the include/c includes as
well? That would be very interesting indeed.

>+ #if !defined (_GLIBCPP_USE_C99_EXPOSURE_HOOK) || _GLIBCPP_USE_C99_EXPOSURE_HOOK

Can you consider _DYNAMIC or _VARIABLE instead of _EXPOSURE_HOOK?

Other than that, I don't have any objections to what you are doing. Do
you think it will work the way that you are expecting (the lldiv_t bits
are the only thing that give me pause.)

I'm assuming you would compile the library with this macro set to 1, and
then allow people to switch it off if they are feeling pedantic. I would
think this would work.

Hmmmm. Interesting.

-benjamin



More information about the Libstdc++ mailing list