cpphs bug

Malcolm Wallace malcolm.wallace at me.com
Mon Feb 24 09:16:03 UTC 2014


>> This appears to be a cpphs bug. For the following code
>> 
>>   #define x (1 == 1)
>>   #if x
>>   YES
>>   #else
>>   NO
>>   #endif
>> 
>> cpphs 1.18.1 prints NO, while the expected output (and the output GNU
>> cpp produces) is YES.
> 
> 
> I acknowledge that this is a bug in cpphs

OK, bug now fixed in version 1.18.2.

Regards,
    Malcolm


More information about the ghc-devs mailing list