Comment #1 on issue 552 by [email protected]: PC-Lint accusing errors in atomicops.h and type_traits.h
http://code.google.com/p/protobuf/issues/detail?id=552

For 1), I think we can change the definition of GOOGLE_PROTOBUF_ATOMICOPS_ERROR to:
#define GOOGLE_PROTOBUF_ATOMICOPS_ERROR \
"Atomic operations are not supported on your platform"
and use:
#error GOOGLE_PROTOBUF_ATOMICOPS_ERROR

For 2), it seems you are suggesting we don't define is_integral<__wchar_t> if wchar_t is not defined as a native type. It sounds wrong to me as users can still define wchar_t themselves as:
#define wchar_t __wchar_t
and if they do that, is_integral<wchar_t> will return a wrong value if we don't have a is_integral<__wchar_t> definition.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to