AnsweredAssumed Answered

Problem with processor expert's generated code...

Question asked by Gabriel Navas on Jun 24, 2013
Latest reply on Jul 5, 2013 by Monica Arvizu

i'm working on my proyect with codewarrior 10.2 and when i want to make the proyect, there are 3 errors that say:

DescriptionResourcePathLocationType
C:/Freescale/CW MCU v10.2/MCU/lib/hc08c/include\ccstddef.h C1017 Empty declarationPractica 3 microsline 42, external location: C:\Freescale\CW MCU v10.2\MCU\lib\hc08c\include\ccstddef.hC/C++ Problem
C:/Freescale/CW MCU v10.2/MCU/lib/hc08c/include\ccstddef.h C2801 ';' missingPractica 3 microsline 42, external location: C:\Freescale\CW MCU v10.2\MCU\lib\hc08c\include\ccstddef.hC/C++ Problem
mingw32-make: *** [Sources/main_c.obj] Error 1Practica 3 microsC/C++ Problem

 

and when i click on any of those errors, the focus goes on ccstddef.h section:

 

 

 

#ifdef __GNUG__

#pragma interface "stddef.h"

#endif

 

 

#include <Gconfig.h>

#include <cstddef.h>

 

 

extern "C++"

{

 

 

#ifndef _LIBRARY_WORKAROUND  /* dont't DEFINE vars in header files !! */

const size_t NPOS = (size_t)(-1);

#endif

 

 

typedef void fvoid_t();

 

 

#ifndef _LIBRARY_WORKAROUND

#ifndef _WINT_T

#define _WINT_T

typedef _G_wint_t wint_t;

#endif

#endif

 

 

} // extern "C++"

 

 

#endif

 

 

--------------------------------------------------------------------

but i had never modify any of that part..

i wish you can help me please! thank!

 

Outcomes