This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix up method-nonnull-1.mm testcase on Solaris (PR testsuite/88090)
- From: Mike Stump <mikestump at comcast dot net>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Nov 2018 13:23:07 -0800
- Subject: Re: [PATCH] Fix up method-nonnull-1.mm testcase on Solaris (PR testsuite/88090)
- References: <20181120203641.GE11625@tucnak>
On Nov 20, 2018, at 12:36 PM, Jakub Jelinek <jakub@redhat.com> 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 that by using a different typedef which we have
> total control over.
>
> Tested on x86_64-linux and i686-linux, ok for trunk?
Ok.