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 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


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