C language > Work in progress

fSDK© - Frankie's SDK for PellesC

<< < (12/12)

TimoVJL:
PellesC don't support COMDAT  :(

So one source and an UNICODE support source file DxErrW.c for library

--- Code: ---// DxErrW.c
#define UNICODE
#include "DxErr.c"

--- End code ---

EDIT: DXUT

Abraham:
rpcdce.h

#ifndef DECLSPEC_NORETURN
#if (__POCC__ >= 800) & (__POCC_STDC_VERSION__ >= 201112L)
#define DECLSPEC_NORETURN   _Noreturn
#elif (__POCC__ >= 500)
#define DECLSPEC_NORETURN   __declspec(noreturn)
#else
#define DECLSPEC_NORETURN
#endif
#endif

winnt.h

#ifndef DECLSPEC_NORETURN
#if (__POCC__ >= 800) & (__POCC_STDC_VERSION__ >= 201112L)
#define DECLSPEC_NORETURN   _Noreturn
#elif (__POCC__ >= 260)
#define DECLSPEC_NORETURN   __declspec(noreturn)
#else
#define DECLSPEC_NORETURN
#endif
#endif

Not sure if anyone else place <stdnoreturn.h> before <windows.h>, but the rules require that the order of including standard headers should not break things.

Navigation

[0] Message Index

[*] Previous page

Go to full version