This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR64959: SFINAE in UDLs




On 13/02/15 22:21, Andrea Azzarone wrote:
We can use the same trick used in the other tests. Patch attached.
Sorry about that!

2015-02-13 20:45 GMT+01:00 Jakub Jelinek <jakub@redhat.com>:
On Wed, Feb 11, 2015 at 12:26:33AM +0100, Andrea Azzarone wrote:
     * gcc/testsuite/g++.dg/cpp1y/udlit-char-template-vs-std-literal-operator.C:

This fails on i686-linux:

FAIL: g++.dg/cpp1y/udlit-char-template-vs-std-literal-operator.C  -std=c++14 (test for excess errors)
Excess errors: /home/jakub/src/gcc/gcc/testsuite/g++.dg/cpp1y/udlit-char-template-vs-std-literal-operator.C:10:51: error: 'int operator""_script(const char*, long unsigned int)' has invalid argument list

Perhaps you meant to #include <cstddef> too and use
size_t instead of unsigned long?  Or just __SIZE_TYPE__ instead
of unsigned long?

         Jakub





Hi,
this patch also fixes issues for arm-none-eabi.
Could someone add this patch?
Kind regards,
Alex.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]