pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and add throw ().
* config/i386/pmm_malloc.h (posix_memalign): If __cplusplus, make the prototype extern "C" and add throw (). * g++.dg/other/i386-2.C: New test. From-SVN: r109318
Showing
- gcc/ChangeLog 3 additions, 0 deletionsgcc/ChangeLog
- gcc/config/i386/pmm_malloc.h 5 additions, 1 deletiongcc/config/i386/pmm_malloc.h
- gcc/testsuite/ChangeLog 2 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/g++.dg/other/i386-2.C 12 additions, 0 deletionsgcc/testsuite/g++.dg/other/i386-2.C
Loading
Please register or sign in to comment