i'm working on my proyect with codewarrior 10.2 and when i want to make the proyect, there are 3 errors that say:
Description | Resource | Path | Location | Type |
C:/Freescale/CW MCU v10.2/MCU/lib/hc08c/include\ccstddef.h C1017 Empty declaration | Practica 3 micros | line 42, external location: C:\Freescale\CW MCU v10.2\MCU\lib\hc08c\include\ccstddef.h | C/C++ Problem | |
C:/Freescale/CW MCU v10.2/MCU/lib/hc08c/include\ccstddef.h C2801 ';' missing | Practica 3 micros | line 42, external location: C:\Freescale\CW MCU v10.2\MCU\lib\hc08c\include\ccstddef.h | C/C++ Problem | |
mingw32-make: *** [Sources/main_c.obj] Error 1 | Practica 3 micros | C/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!
解決済! 解決策の投稿を見る。
Thanks for helping me, it was my bad! haha, the problem was that I was including the "iostream.h" library in a C proyect, and iostream it's a C++ library! so thanks again and if anyone has the same dummy problem, here there is the solution!
Thanks for helping me, it was my bad! haha, the problem was that I was including the "iostream.h" library in a C proyect, and iostream it's a C++ library! so thanks again and if anyone has the same dummy problem, here there is the solution!
Gabriel,
Thanks a lot for sharing! Dummy or not dummy problems we're to help each other :smileywink:
Best regards,
Monica.
how can we reproduce your problem? can you please upload your demo project and also describe how to reproduce your problem from creating a new project?
Could you please try with latest CodeWarrior version v10.4? It can be downloaded from: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-MCU10