Changeset 21741 for branches


Ignore:
Timestamp:
Oct 25, 2011, 7:06:33 PM (14 years ago)
Author:
dmik
Message:

Common compiler warnings and errors.

Location:
branches/gcc-kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/include/win/debugtools.h

    r21717 r21741  
    99
    1010#ifndef __MISC_H__
     11
     12#ifdef __cplusplus
     13extern "C" {
     14#endif
    1115
    1216#ifdef DEBUG
     
    5256void SYSTEM DecreaseLogCount();
    5357void SYSTEM IncreaseLogCount();
     58
     59#ifdef __cplusplus
     60} // extern "C"
     61#endif
    5462
    5563#endif //__MISC_H__
     
    169177#  define MESSAGE WriteLog
    170178#else
    171 #  define TRACE 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    172 #  define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    173 #  define FIXME 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    174 #  define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    175 #  define WARN  1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    176 #  define WARN_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    177 #  define ERR_(ch) 1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    178 #  define ERR  1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    179 #  define DPRINTF   1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
    180 #  define MESSAGE   1 ? (void)0 : (void)((int (*)(char *, ...)) NULL)
     179#  define TRACE 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     180#  define TRACE_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     181#  define FIXME 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     182#  define FIXME_(ch) 1 ? (void)0 : (void)((int (*)(constchar *, ...)) NULL)
     183#  define WARN  1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     184#  define WARN_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     185#  define ERR_(ch) 1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     186#  define ERR  1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     187#  define DPRINTF   1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
     188#  define MESSAGE   1 ? (void)0 : (void)((int (*)(const char *, ...)) NULL)
    181189#endif
    182190#undef __GET_DEBUGGING
  • branches/gcc-kmk/src/kernel32/conodin32.cpp

    r8774 r21741  
    237237                    if (pNew)
    238238                    {
    239                         pNew->pfnHandler = pfnHandler;
     239                        pNew->pfnHandler = (void *)pfnHandler;
    240240                        pNew->pPrev = NULL;
    241241
Note: See TracChangeset for help on using the changeset viewer.