c++ Programming Glossary: comeautest.c
Redeclaration of a variable in a for-loop in C++ http://stackoverflow.com/questions/12351460/redeclaration-of-a-variable-in-a-for-loop-in-c is here for int it a1 end a1 1 it end it ^ comeau error ComeauTest.c line 8 error end declared in for loop initialization may not..
Why would the conversion between derived* to base* fails with private inheritance? http://stackoverflow.com/questions/3674876/why-would-the-conversion-between-derived-to-base-fails-with-private-inheritanc ˜base is an inaccessible base of ˜derived p Comeau Online ComeauTest.c line 26 error conversion to inaccessible base class base is..
array initialization, is referencing a previous element ok? http://stackoverflow.com/questions/4114794/array-initialization-is-referencing-a-previous-element-ok All rights reserved. MODE strict errors C C 0x_extensions ComeauTest.c line 8 warning variable points is used before its value is set..
When the C++ standard provides C headers bringing names into the global namespace, does that include overloads? http://stackoverflow.com/questions/4405887/when-the-c-standard-provides-c-headers-bringing-names-into-the-global-namespac All rights reserved. MODE strict errors C C 0x_extensions ComeauTest.c line 15 error class typecheck double has no member value printf.. f result .value ^ 1 error detected in the compilation of ComeauTest.c . Comeau agrees with Visual C . c header backwards compatibility..
Another bug in g++/Clang? [C++ Templates are fun] http://stackoverflow.com/questions/4420828/another-bug-in-g-clang-c-templates-are-fun C give similar errors. The errors that I get on Comeau are ComeauTest.c line 13 error class N K int has no member K typename T template.. instantiation of class X T with T N K int at line 18 ComeauTest.c line 13 error expected an identifier typename T template K T.. see comeau give a better error message if you use T K int ComeauTest.c line 13 error overloaded function N K T K with T int is not..
Is making a function template specialization virtual legal? http://stackoverflow.com/questions/757270/is-making-a-function-template-specialization-virtual-legal All rights reserved. MODE strict errors C C 0x_extensions ComeauTest.c line 3 error virtual is not allowed in a function template declaration.. a function template declaration template virtual void f ^ ComeauTest.c line 10 error virtual is not allowed in a function template..
SFINAE with invalid function-type or array-type parameters? http://stackoverflow.com/questions/822059/sfinae-with-invalid-function-type-or-array-type-parameters the above. Both with different diagnostics. Comeau says ComeauTest.c line 2 error array of functions is not allowed char f T 1 1..
C++ implicit conversions http://stackoverflow.com/questions/867462/c-implicit-conversions Comeau compilers. With Comeau I get the following error ComeauTest.c line 11 error no suitable constructor exists to convert from..
Function template specialization format http://stackoverflow.com/questions/937744/function-template-specialization-format also tested the code gets it right and issues a diagnostic ComeauTest.c line 16 error void doh operator bool is not an entity that can..
|