On 10/13/2015 11:41 AM, Oleg Smolsky wrote:
On 2015-10-13 11:33, Bart Van Assche wrote:
On 10/13/2015 11:28 AM, Oleg Smolsky wrote:
-enum tcmu_opcode {
+enum tcmu_opcode
+#if defined(__cplusplus)
+ : __u32
+#endif
+{
Will this work with older C++ compilers ?
No, this is a C++11 thing. I've added an extra check.
I think any sort of C++ support in Linux's exported headers would be a
big policy shift, and very unlikely in the foreseeable future, I'm afraid.
Regards -- Andy
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html