[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #11 from marc dot glisse at normalesup dot org 2010-09-06 20:48 --- (In reply to comment #10) > The aforementioned variant, again tested x86_64-linux Wow, cool! Sorry, I really didn't mean to give you more work... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45549

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #9 from marc dot glisse at normalesup dot org 2010-09-06 17:48 --- (In reply to comment #8) > Draft patch, tested x86_64-linux Nice. Just to confirm, that's indeed what I had in mind, except that I was going to rename __is_iterator_helper to __has_iterator_cate

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #6 from marc dot glisse at normalesup dot org 2010-09-06 12:21 --- (In reply to comment #5) > preparing a small prototype, using the hierarchy, attach it here Just to make sure, does that mean you are writing the prototype, or do you want me to? (my employer started

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2010-09-06 11:01 --- (In reply to comment #3) > Well, I think we are comparing two changes of very different impact and size. You are right. > I would argue tha, > in general, the way we are living the post-concepts

[Bug libstdc++/45549] merge is_iterator into iterator_traits

2010-09-06 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2010-09-06 07:12 --- (In reply to comment #1) > __is_iterator can be useful anyway, Of course, they should use the same helper classes but they can coexist, although the 2 current uses of is_iterator would disappear. I

[Bug libstdc++/45549] New: merge is_iterator into iterator_traits

2010-09-05 Thread marc dot glisse at normalesup dot org
++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45549

[Bug c++/45418] New: [C++0x] can't initialize array of non-trivial type with brace-init

2010-08-26 Thread marc dot glisse at normalesup dot org
Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: x86_64-linux-gnu

[Bug tree-optimization/44972] [4.6 Regression] ICE: in load_assign_lhs_subreplacements, at tree-sra.c:2475

2010-07-17 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2010-07-17 18:49 --- In case it may help, let me mention that other test programs for our library show: internal compiler error: in refs_may_alias_p_1, at tree-ssa-alias.c:1023 or: warning: '#'mem_ref' n

[Bug tree-optimization/44972] ICE: in load_assign_lhs_subreplacements, at tree-sra.c:2475

2010-07-17 Thread marc dot glisse at normalesup dot org
--- Comment #1 from marc dot glisse at normalesup dot org 2010-07-17 13:48 --- Created an attachment (id=21235) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21235&action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44972

[Bug tree-optimization/44972] New: ICE: in load_assign_lhs_subreplacements, at tree-sra.c:2475

2010-07-17 Thread marc dot glisse at normalesup dot org
: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: x86_64-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44972

gcc-bugs@gcc.gnu.org

2010-07-15 Thread marc dot glisse at normalesup dot org
ReportedBy: marc dot glisse at normalesup dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44949

[Bug c++/44909] [C++0x] Copy constructors implicitly deleted

2010-07-14 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2010-07-14 14:14 --- The patch (or another one committed recently) seems to have broken the attached testcase (as you can see from the names, this comes from the same code), including in C++98 mode. If it is unrelated, sorry for

[Bug c++/44909] [C++0x] Copy constructors implicitly deleted

2010-07-14 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2010-07-14 14:08 --- Created an attachment (id=21199) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21199&action=view) extra testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44909

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-13 Thread marc dot glisse at normalesup dot org
--- Comment #11 from marc dot glisse at normalesup dot org 2010-07-13 15:01 --- Sorry, no commit rights. I wrote the patch because it was a one-liner, but I still don't even have a copyright assignment on file. Can you handle the rest? -- http://gcc.gnu.org/bugzilla/show_bu

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-13 Thread marc dot glisse at normalesup dot org
--- Comment #9 from marc dot glisse at normalesup dot org 2010-07-13 14:26 --- Ok, the 4 tests worked fine. I tested with gcc-4.5.0 because the snapshots complained about the number of arguments to ggc_alloc_cleared_lang_type (without any patch). I used --without-ppl (otherwise you get

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-12 Thread marc dot glisse at normalesup dot org
--- Comment #7 from marc dot glisse at normalesup dot org 2010-07-12 20:34 --- (In reply to comment #5) > The patch is okay, but it should be tested with bootstrap, `make install' and > a > smoke test after install with: > > - in-tree GMP, in-tree MPFR 2.3 >

[Bug c++/44909] New: Copy constructors implicitly deleted

2010-07-11 Thread marc dot glisse at normalesup dot org
-- Summary: Copy constructors implicitly deleted Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at

[Bug bootstrap/44455] GCC fails to build if MPFR 3.0.0 (Release Candidate) is used

2010-07-07 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2010-07-07 07:44 --- Created an attachment (id=21121) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21121&action=view) Trivial patch There doesn't seem to be much point using --with-gmp-build (it is most

[Bug c++/44808] New: ICE: tree check: expected var_decl, have result_decl in gimplify_modify_expr

2010-07-04 Thread marc dot glisse at normalesup dot org
cl in gimplify_modify_expr Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC

[Bug other/44080] New: Call GNU ld with -O1

2010-05-11 Thread marc dot glisse at normalesup dot org
.html -- Summary: Call GNU ld with -O1 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at norma

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2010-04-29 Thread marc dot glisse at normalesup dot org
--- Comment #70 from marc dot glisse at normalesup dot org 2010-04-29 10:27 --- (In reply to comment #68) > (In reply to comment #63) > > > > Based on Solaris 11 x86, I don't see a way for say cstdlib to have only the > > namespace std versions of function

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2010-02-06 Thread marc dot glisse at normalesup dot org
--- Comment #9 from marc dot glisse at normalesup dot org 2010-02-06 17:52 --- (In reply to comment #8) > It seems this can be safely closed as invalid, there is no reason why > std::__cos should be wrong. Marking this as invalid means that we can never include solaris libc h

[Bug c++/42820] New: ICE in tree-check, accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:9868

2010-01-21 Thread marc dot glisse at normalesup dot org
: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: x86_64-linux-gnu http

[Bug libstdc++/30928] add casts to libc overloads

2010-01-14 Thread marc dot glisse at normalesup dot org
--- Comment #5 from marc dot glisse at normalesup dot org 2010-01-14 20:35 --- (In reply to comment #4) > It seems to me extremely unlikely that an implementation decides to provide > the > full-const version when called by a c++ compiler and nothing else, because C++ > do

[Bug c/40757] gcc 4.4.0 miscompiles mpfr-2.4.1

2009-07-17 Thread marc dot glisse at normalesup dot org
--- Comment #22 from marc dot glisse at normalesup dot org 2009-07-18 04:50 --- (In reply to comment #20) > buf[n] = 6; > memset (buf+n, 0, i + j); > if (buf[0] != 6) It looks like you forgot to replace the second buf[0] by buf[n]. -- http://gcc.gnu.org

[Bug c/40757] gcc 4.4.0 miscompiles mpfr-2.4.1

2009-07-17 Thread marc dot glisse at normalesup dot org
--- Comment #19 from marc dot glisse at normalesup dot org 2009-07-17 15:51 --- (In reply to comment #18) > I've compiled and linked that code. It does not abort. Bad point for this theory :-( The result could still depend on the alignment of the pointer, so you could try r

[Bug c/40757] gcc 4.4.0 miscompiles mpfr-2.4.1

2009-07-16 Thread marc dot glisse at normalesup dot org
--- Comment #12 from marc dot glisse at normalesup dot org 2009-07-16 20:34 --- (In reply to comment #11) > for this memset call, which looks correct to me. The st %g1, [%i0+%l5] line > stores to %i0 a[n-1] and memset is called with memset (a, 0, (n + 0x3fffU) > <&

[Bug c++/2316] g++ fails to overload on language linkage

2009-06-04 Thread marc dot glisse at normalesup dot org
--- Comment #18 from marc dot glisse at normalesup dot org 2009-06-05 04:22 --- (In reply to comment #17) I just checked, and the sunpro warning is overzealous. It is meant to catch cases where the programmer writes a declaration with one linkage and later provides a definition with

[Bug c++/39924] New: injected class name is too available

2009-04-26 Thread marc dot glisse at normalesup dot org
available Product: gcc Version: 4.3.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486

[Bug libstdc++/30928] add casts to libc overloads

2009-01-30 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2009-01-30 20:38 --- Hello, looking at the two last comments, I think we are speaking of slightly different things, although they are related. I was asking for some const_cast of the return value, in case the const version of

[Bug other/27843] gcc-4.2-20060527 make install fails on alphaev68-dec-osf5.1b

2008-11-12 Thread marc dot glisse at normalesup dot org
--- Comment #12 from marc dot glisse at normalesup dot org 2008-11-12 16:30 --- *** Bug 30083 has been marked as a duplicate of this bug. *** -- marc dot glisse at normalesup dot org changed: What|Removed |Added

[Bug other/30083] double quotes in Makefile confuse solaris /bin/sh

2008-11-12 Thread marc dot glisse at normalesup dot org
--- Comment #8 from marc dot glisse at normalesup dot org 2008-11-12 16:30 --- The comments already say this bug is a duplicate (of a now fixed bug), I am just marking it for cleanup. Hope that is the right thing to do... *** This bug has been marked as a duplicate of 27843

[Bug c++/37066] partial specialization of function depends on the order

2008-11-12 Thread marc dot glisse at normalesup dot org
--- Comment #5 from marc dot glisse at normalesup dot org 2008-11-12 16:19 --- This is not a bug (see previous comments). -- marc dot glisse at normalesup dot org changed: What|Removed |Added

[Bug c++/37066] partial specialization of function depends on the order

2008-08-10 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2008-08-10 14:20 --- This looks really close to the exemple explained here (near the end): http://www.gotw.ca/publications/mill17.htm except that there is no <> or <...> after the name of the function in the sp

[Bug c++/37066] partial specialization of function depends on the order

2008-08-10 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2008-08-10 10:50 --- Hmm apparently partial specialization of function does not exist. Depending on the order, the full specialization is considered either as a specialization of the first declaration or of the HELLO2 one. Now

[Bug c++/37066] partial specialization of function depends on the order

2008-08-10 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2008-08-10 09:42 --- (In reply to comment #1) > Hmm, the one that says HELLO1 is fully specialization and not a partial one. Indeed, sorry for the wrong vocabulary. So the title should be something like: partial specializat

[Bug c++/37066] New: partial specialization of function depends on the order

2008-08-09 Thread marc dot glisse at normalesup dot org
alization of function depends on the order Product: gcc Version: 4.3.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot or

[Bug c++/33518] New: unused code changes the result of name lookup

2007-09-21 Thread marc dot glisse at normalesup dot org
at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33518

[Bug c++/32997] New: duplicate nested type error has disappeared

2007-08-05 Thread marc dot glisse at normalesup dot org
nested type error has disappeared Product: gcc Version: 4.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2007-03-29 Thread marc dot glisse at normalesup dot org
--- Comment #64 from marc dot glisse at normalesup dot org 2007-03-29 12:29 --- (In reply to comment #63) > However, I'm working on speculative fixes for newlib and linux, which are > predicated on the correct __cplusplus values. I may get to solaris too, if my > sanity

[Bug libstdc++/30928] New: add casts to libc overloads

2007-02-22 Thread marc dot glisse at normalesup dot org
ses perl, which I think has been part of the system for a very long time, because I don't know how to do it with sed. I also don't know if the files field accepts wildcards) -- Summary: add casts to libc overloads Product: gcc Version: 4.3.0 Sta

[Bug c++/30112] pragma redefine_extname fails when namespaces are involved

2007-02-22 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2007-02-22 16:20 --- Actually, the patch is not sufficient. With the patch, it works if the function is in the global namespace or the pragma is before the declaration (or both), but not for a function in the std namespace where

[Bug c++/30112] pragma redefine_extname fails when namespaces are involved

2007-01-08 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2007-01-08 14:27 --- Created an attachment (id=12870) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12870&action=view) patch to call the renaming function in any namespace -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/30112] pragma redefine_extname fails when namespaces are involved

2006-12-12 Thread marc dot glisse at normalesup dot org
--- Comment #1 from marc dot glisse at normalesup dot org 2006-12-12 18:40 --- In gcc/cp/decl.c, I see: if (global_scope_p (current_binding_level)) asmspec_tree = maybe_apply_renaming_pragma (decl, asmspec_tree); So if I understand correctly (it is the first time I have a look

[Bug other/30083] double quotes in Makefile confuse solaris /bin/sh

2006-12-08 Thread marc dot glisse at normalesup dot org
--- Comment #5 from marc dot glisse at normalesup dot org 2006-12-08 12:19 --- (In reply to comment #4) > Except you did not read instructions so what is the difference? Ok say you forget I mentionned solaris /bin/sh. I just believe it would be more consistant to use single quo

[Bug c++/30112] New: pragma redefine_extname fails when namespaces are involved

2006-12-07 Thread marc dot glisse at normalesup dot org
gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i386-pc-solaris2.10 http://gcc

[Bug other/30083] double quotes in Makefile confuse solaris /bin/sh

2006-12-07 Thread marc dot glisse at normalesup dot org
--- Comment #3 from marc dot glisse at normalesup dot org 2006-12-07 11:04 --- Sure, it works with a posix shell. But it would not hurt to use single quotes around the constant string passed as an argument to sed, as is done in the rest of the file, if only for consistancy. It seems to

[Bug other/30083] double quotes in Makefile confuse solaris /bin/sh

2006-12-06 Thread marc dot glisse at normalesup dot org
--- Comment #1 from marc dot glisse at normalesup dot org 2006-12-06 18:01 --- Actually, the problem seems to be caused by the '^' character, which is the equivalent of '|' for this shell. The solution is still the same, have single quotes (or protect the '^&#

[Bug other/30083] New: double quotes in Makefile confuse solaris /bin/sh

2006-12-06 Thread marc dot glisse at normalesup dot org
t org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i386-pc-solaris2.10 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30083

[Bug c++/2316] g++ fails to overload on language linkage

2006-12-04 Thread marc dot glisse at normalesup dot org
--- Comment #15 from marc dot glisse at normalesup dot org 2006-12-04 15:54 --- *** Bug 30062 has been marked as a duplicate of this bug. *** -- marc dot glisse at normalesup dot org changed: What|Removed |Added

[Bug c++/30062] g++ does not distinguish functions with C and C++ linkage

2006-12-04 Thread marc dot glisse at normalesup dot org
--- Comment #1 from marc dot glisse at normalesup dot org 2006-12-04 15:54 --- *** This bug has been marked as a duplicate of 2316 *** -- marc dot glisse at normalesup dot org changed: What|Removed |Added

[Bug c++/30062] New: g++ does not distinguish functions with C and C++ linkage

2006-12-04 Thread marc dot glisse at normalesup dot org
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30062

[Bug libstdc++/27579] New: no warning for the non-standard integral overloads of math functions

2006-05-12 Thread marc dot glisse at normalesup dot org
us: UNCONFIRMED Severity: enhancement Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27579

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2006-05-09 Thread marc dot glisse at normalesup dot org
--- Comment #56 from marc dot glisse at normalesup dot org 2006-05-09 14:24 --- (In reply to comment #30) > Defines __cplusplus to 199711L and overrides it in c++config.h for solaris 8 Out of curiosity, why not deal with __cplusplus the same way as __STDC__ (0 for standard headers

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2006-05-09 Thread marc dot glisse at normalesup dot org
--- Comment #55 from marc dot glisse at normalesup dot org 2006-05-09 13:55 --- A few remarks on (really) defining __cplusplus to 199711L on solaris. One issue I already mentionned in libstdc++/27340 is some conflicts on names like std::__cos. An other issue is the fact that solaris

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread marc dot glisse at normalesup dot org
--- Comment #6 from marc dot glisse at normalesup dot org 2006-04-28 21:57 --- (In reply to comment #4) > Should all those private classes and functions be declared in some > specific namespace std::glibcxx_private to have a single point of failure? Oups, I just noticed that w

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread marc dot glisse at normalesup dot org
--- Comment #4 from marc dot glisse at normalesup dot org 2006-04-28 20:43 --- (In reply to comment #3) > Well, I think Andrew has a point: suppose we rename all those functions to > _M_cos and co. Then, later, we discover that a third libc (not Solaris, not > GNU) conflicts w

[Bug libstdc++/27340] valarray uses __cos which may conflict with libm functions

2006-04-28 Thread marc dot glisse at normalesup dot org
--- Comment #2 from marc dot glisse at normalesup dot org 2006-04-28 10:33 --- (In reply to comment #1) > Both libc and libstdc++ are considered part of the implementation which means > both are valid to use this name space. Which means both should take care not to use a name (i

[Bug libstdc++/27340] New: valarray uses __cos which may conflict with libm functions

2006-04-27 Thread marc dot glisse at normalesup dot org
__cos which may conflict with libm functions Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot g

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-19 Thread marc dot glisse at normalesup dot org
--- Comment #21 from marc dot glisse at normalesup dot org 2006-04-19 11:38 --- (In reply to comment #20) > the > very same source code would not be be portable across those targets. I don't > think we would like that. Besides, more generally, I'm not at all sure t

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-19 Thread marc dot glisse at normalesup dot org
--- Comment #19 from marc dot glisse at normalesup dot org 2006-04-19 11:09 --- (In reply to comment #18) > Probably this PR should be suspended, while waiting for the resolution of DR > 456: > > http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-active.html#456 Whether t

[Bug libstdc++/27199] New: ptrdiff_t and size_t outside of namespace std

2006-04-18 Thread marc dot glisse at normalesup dot org
Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: marc dot glisse at normalesup dot org GCC host triplet: i486-linux-gnu http://gcc.gnu.org

[Bug libstdc++/6257] C-library symbols enter global namespace

2006-04-18 Thread marc dot glisse at normalesup dot org
--- Comment #17 from marc dot glisse at normalesup dot org 2006-04-18 15:10 --- (In reply to comment #15) > So there's a problem with the multiple-include-protection in glibc! Yes, the way it is done in solaris is way more convenient. There, stdlib.h includes a file iso/stdl