This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [v3] concept check macros, excess-errors
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: [v3] concept check macros, excess-errors
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Thu, 19 Apr 2001 16:58:19 -0700 (PDT)
- cc: libstdc++ at gcc dot gnu dot org
> ...when the user configures with --enable-concept-checks, we still need a
> way to turn them off while building the library itself. I have no problem
> with not doing this in the makefiles, but we should decide on how.
Why? I am aghast at the idea that the library won't build itself with
concep checking turned on. This seems wrong.
> Or put a -D back in the makefile and change the test to
>
> #if !defined(_GLIBCPP_CONCEPT_CHECKS)
> || defined (NO_WAY_IN_HELL_DO_WE_WANT_THESE_ON_RIGHT_NOW)
> ...empty defines...
>
> Or etc, etc. Opinions solicited; choose yer poison. :-)
Noooooooooooooooooooooooo.
I would think that if this is being done (not my first choice see above)
it shoudl go here (say in src/Makefile.am)
CONFIG_CXXFLAGS = \
@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
-benjamin