CUDA 4.0 invalid headers

Hi all,
the CUDA4.0 sdk has two headers: “cublas_api.h” and “driver_types.h” containing
enums declared in this way:

enum {
A = 1,
B = 2,
};

note that comma after the “2”.

c++ code compilation using the -pedantic option rises some warnings, even with -std=gnu++0x.
Our project rises warnings to be errors and then our code doesn’t compile anymore.
While there is a way to avoid the warning compiling C code (using -std=c9x) there is no way
compiling c++ code.

We are using the gnu c++ compiler.

K.