<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>I’m on Mac OS X 10.9.2 with all last updates; if I have this source:</div><div><br></div><div><div><font face="Courier New">class xxx explicit</font></div><div><font face="Courier New">{</font></div><div><font face="Courier New">};</font></div><div><font face="Courier New"><br></font></div><div><font face="Courier New">int main (int argc, char **argv)</font></div><div><font face="Courier New">{</font></div><div><font face="Courier New"><br></font></div><div><font face="Courier New"> return 0;</font></div><div><font face="Courier New">}</font></div></div><div><br></div><div>and I compile it with clang++ -std=c++11 -Wall -pedantic -c I obtain this error:</div><div><br></div><div><div><font face="Courier New">nn:1: error: expected unqualified-id</font></div><div><font face="Courier New">{</font></div><div><font face="Courier New">^</font></div><div><font face="Courier New">1 error generated.</font></div></div><div><br></div><div>But the C++ 11 standard permits explicit on classes.</div><div><br></div><div>It’s a bug?</div></body></html>