AnsweredAssumed Answered

compiler error when using multi-character character constants

Question asked by yli on Apr 25, 2014
Latest reply on Apr 30, 2014 by CraigG

When I tried some like

     int k = 'abcd';

I get a error of "cc0026:  error: too many characters in character constant"

 

I believe the multi-character character constants has been adopted by C99 and more C++ standards. All other compiler I've worked with support this, MSVC, GCC, Inter, TI...

 

Any idea for a walk-around?

Outcomes