This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] libstdc++/20534, debug mode vs. includes


On Thu, 26 May 2005, Paolo Carlini wrote:

| Gabriel Dos Reis wrote:
|
| >I was wondering whether we should not ask for __builtin_assert()...
| >
| >
| Irrespective of issues related to debug-mode, I think such builtin would
| be really useful: many people need an assert-like functionality without
| the ODR issues. I'm mildly surprised that we don't have one already,
| actually. Therefore, I'm going to ask for it, ASAP (unless I figure out
| that we have something equivalent in the complete set of underdocumented
| extensions ;)

I think GCC's implementation of assert() uses a "builtin",
(at least, there used to be a __eprintxxx but I guess it was gone).

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]