[cmake-developers] CheckStructHasMember does not support C++ only structs

Daniele E. Domenichelli daniele.domenichelli at gmail.com
Fri Oct 4 09:37:07 EDT 2013


On 04/10/13 14:34, Brad King wrote:
> The problem is the empty struct:
> 
>  struct struct_with_non_existent_members {
>  };
> 
> Some C compilers reject that.  You'll have to add a dummy member.

Oh, I see! I will fix this!

Thanks!

Daniele




More information about the cmake-developers mailing list