]> sourceware.org Git - glibc.git/commit
quick_exit tests: Do not use C++ headers
authorFlorian Weimer <fweimer@redhat.com>
Thu, 9 Jun 2016 10:02:42 +0000 (12:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 9 Jun 2016 10:09:43 +0000 (12:09 +0200)
commit2df1b9804bcf714dfed12def17f8a518403d8d6b
treecb84cc3a66bdc6f18e97892e092539b0a961d75e
parentbd499987c63fae6dd52fc577c8aada54293336bc
quick_exit tests: Do not use C++ headers

If C++ headers such as <cstdlib> or <thread> are used, GCC 6
will include /usr/include/stdlib.h (instead of stdlib/stdlib.h
in the glibc source directory), and this turns up as a make
dependency.  An implicit rule will kick in and make will try to
install stdlib/stdlib.h as /usr/include/stdlib.h because the
target is out of date.

This commit switches to <stdlib.h> and <pthread.h> instead of
<cstdlib> and <thread>.
ChangeLog
stdlib/tst-quick_exit.cc
stdlib/tst-thread-quick_exit.cc
This page took 0.040447 seconds and 5 git commands to generate.