Commit Graph

15 Commits

Author SHA1 Message Date
David 'Digit' Turner
1aa6708cc2 Fix the build. Oops.
(We remove the declaration for on_exit() from the C library headers,
so do the same for the C++ <cstdlib>)

Change-Id: I31a21d5643068cd160724908dd8156863a44d95a
2010-10-11 15:27:39 +02:00
David 'Digit' Turner
d466780c7c Add missing SMP barriers to libstdc++
Change-Id: I20a8dcd2e3316ac60237e800c682cacc8e59e187
2010-07-07 14:18:20 -07:00
David 'Digit' Turner
0621a279ad libstdc++: use extern "C++" in all our C++ system headers.
This is needed to build an independent toolchain with g++ that doesn't think
that all these headers are in C.

Change-Id: Ie9a8ccfcab7780d6a4e5722777d61c2b1b312001
2010-06-25 16:53:37 -07:00
André Goddard Rosa
8f92500fa9 optimize delete/delete[] operators by removing unneeded branch
Remove redundant not NULL check already done in free().

Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
2010-01-30 22:26:30 -02:00
Jean-Baptiste Queru
194d3fa048 eclair snapshot 2009-11-12 18:45:14 -08:00
David 'Digit' Turner
348065586a Add new C++ headers <cerrno> and <cfloat>
Also add std::malloc/realloc/calloc/free to <cstdlib>
Rename <cwchar_is_not_supported> to <cwchar>
2009-07-10 18:40:55 +02:00
David 'Digit' Turner
8169573c87 Add <cmath> standard C++ header.
This is needed for upcoming STLport experimentation.
2009-05-18 23:34:13 +02:00
Niko Catania
89b62a18a0 AI 145714: Added cstring wrapper around string.h.
In new, include cstddef which declares std::size_t.
  BUG=1601432

Automated import of CL 145714
2009-04-10 10:51:53 -07:00
Niko Catania
00a18f62a7 AI 145059: (Almost) final set of wrapper around the C headers for stdc++ and their tests.
The only one left is cstring.
  * bionic/libstdc++/include/cstdlib:
  * bionic/libstdc++/include/cstdio:
  * bionic/libstdc++/include/cstdint:
  * bionic/libstdc++/include/csignal:
  * bionic/libstdc++/include/csetjmp:
  Added header file.
  Checks the bionic headers file were picked up instead of the host ones.
  Added test for new header files
  * system/extras/tests/bionic/libstdc++/Android.mk:
  Added tests for the new header files.
  EXTRA_CFLAGS: include the bionic header files.
  BUG=1601432

Automated import of CL 145059
2009-04-08 09:01:36 -07:00
Niko Catania
88f8a4ab85 AI 144236: Added new C to stdc++ header files: cassert, cctype, climits, ctime.
QA Impact:None
  BUG=1601432

Automated import of CL 144236
2009-04-02 09:31:46 -07:00
Niko Catania
416ceb861c AI 143504: Completed cstddef to be non empty and similar to the gnu stl implementation.
Even if we don't want to have a bloated stl implementation, having empty
  files around is probably not very good either.
  Added a test to make sure the header file compiles on host and kila-eng.
  QA Impact: In system/extras/test/bionic/libstdc++ build the tests using:
  mm BIONIC_TESTS=1
  to build the host and target tests.
  BUG=1601432

Automated import of CL 143504
2009-03-30 12:50:56 -07:00
The Android Open Source Project
1dc9e472e1 auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
The Android Open Source Project
1767f908af auto import from //depot/cupcake/@135843 2009-03-03 18:28:13 -08:00
The Android Open Source Project
4e468ed2eb Code drop from //branches/cupcake/...@124589 2008-12-17 18:03:48 -08:00
The Android Open Source Project
a27d2baa0c Initial Contribution 2008-10-21 07:00:00 -07:00