Re: [PATCH] Fix up method-nonnull-1.mm testcase on Solaris (PR testsuite/88090)

2018-11-26 Thread Mike Stump
On Nov 20, 2018, at 12:36 PM, Jakub Jelinek wrote: > > The following testcase fails on Solaris, because it doesn't print there > 'size_t', but 'std::size_t', as the type is defined by system headers and > it is not under gcc control how exactly is size_t defined. > > The following patch fixes th

[PATCH] Fix up method-nonnull-1.mm testcase on Solaris (PR testsuite/88090)

2018-11-20 Thread Jakub Jelinek
Hi! The following testcase fails on Solaris, because it doesn't print there 'size_t', but 'std::size_t', as the type is defined by system headers and it is not under gcc control how exactly is size_t defined. The following patch fixes that by using a different typedef which we have total control