This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

File_Config.h

When I include the file "File_Config.h" in any of my .CPP files I get the following error:


File_Config.h(279): warning:  #368-D: class "<unnamed>" defines no constructor to initialize the following:
            const member "<unnamed>::DrvCfg"
  typedef struct {
                 ^

Why does it need a constructor when the structure is surrounded by #ifdef __cplusplus
extern "C" {
#endif

Thanks.