This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/49745] error: âint truncateâ redeclared as different kind of symbol


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745

--- Comment #19 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-07-15 21:52:14 UTC ---
Author: paolo
Date: Fri Jul 15 21:52:06 2011
New Revision: 176335

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176335
Log:
/gcc
2011-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
        Jakub Jelinek  <jakub@redhat.com>
        Jonathan Wakely  <jwakely.gcc@gmail.com>

    PR libstdc++/49745
    * gthr-posix.h: Do not include <unistd.h> unconditionally; use
    _GTHREADS_USE_MUTEX_TIMEDLOCK instead of _POSIX_TIMEOUTS.

/libstdc++-v3
2011-07-15  Paolo Carlini  <paolo.carlini@oracle.com>
        Jakub Jelinek  <jakub@redhat.com>

    PR libstdc++/49745
    * acinclude.m4 ([GLIBCXX_CHECK_GTHREADS]): Check separately for
    _POSIX_TIMEOUTS and define _GTHREADS_USE_MUTEX_TIMEDLOCK.
    * libstdc++-v3/libsupc++/guard.cc: Include <unistd.h>.
    * testsuite/17_intro/headers/c++1998/49745.cc: New.
    * configure: Regenerate.
    * config.h.in: Likewise.

Added:
    trunk/libstdc++-v3/testsuite/17_intro/headers/c++1998/49745.cc
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gthr-posix.h
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/acinclude.m4
    trunk/libstdc++-v3/config.h.in
    trunk/libstdc++-v3/configure
    trunk/libstdc++-v3/libsupc++/guard.cc


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