This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Replace fork with try_fork in testsuite?
> >>This will mean, however, that these defines end up in c++config.h,
> >>even though they'll be unused in the library proper.
> >
> > This is rather "strange" isn't it? But cannot really hurt, I think. If
> > you agree, please go ahead.
>
> Yes, it's weird, but I think harmless. Benjamin said it was OK to have
> testsuite-only messages in the translation files that ship, so I think
> it should also be OK to have some testsuite-only macros in the
> c++config.h that ships.
Weird but harmless, agreed. We already have this kind of testsuite-only
thing in c++config.h. See:
HAVE_LIMIT_AS, DATA, FSIZE, RSS, VMEM.
There's probably a better, but less convenient, way to do this. It escapes me, however.
-benjamin