On Thu, Oct 24, 2013 at 6:22 PM, Mike Stump <mikest...@comcast.net> wrote:
> On Oct 24, 2013, at 2:05 AM, Jan-Benedict Glaw <jbg...@lug-owl.de> wrote:
>> -  enum raw_str_phase { RAW_STR_PREFIX, RAW_STR, RAW_STR_SUFFIX };
>> -  raw_str_phase phase = RAW_STR_PREFIX;
>> +  enum raw_str_phase { RAW_STR_PREFIX, RAW_STR, RAW_STR_SUFFIX } phase = 
>> RAW_STR_PREFIX;
>
> Since no one else chimed in…  seems obvious to me…  though the line is too 
> long.  Better likely would be to just say:

No it does not due to in C++ the name is injected without the enum tag too.

>
>   enum raw_str_phase phase = RAW_STR_PREFIX;

This is a good work around but please add a comment of why this is
needed (to work around a bug in XLC++).

Thanks,
Andrew

Reply via email to