This is the mail archive of the gcc-bugs@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]

[Bug c++/51397] static_assert message formatting


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51397

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-31 17:29:35 UTC ---
Author: paolo
Date: Sat Dec 31 17:29:30 2011
New Revision: 182757

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182757
Log:
/cp
2011-12-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51397
    * semantics.c (finish_static_assert): Use %s instead of %E for
    the error message.

/testsuite
2011-12-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51397
    * g++.dg/cpp0x/static_assert6.C: New.


Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/static_assert6.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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