#include <mui/Rawimage_mcc.h> #include "img_clock.c"
> # error Compiler does not support zero-length arrays. error 292 in line 39 of "mui/Rawimage_mcc.h": #error Compiler does not support zero-length arrays. >EOF warning 56 in line 39 of "mui/Rawimage_mcc.h": } expected unexpected end of file 1 error found!
struct MUI_RawimageData { ULONG ri_Width; ULONG ri_Height; ULONG ri_Format; ULONG ri_Size; #if __STDC_VERSION__ >= 199901L /* VBCC and newer GCCs */ ULONG ri_Data[]; #elif defined(__GNUC__) /* GCC 2.x */ ULONG ri_Data[0]; #else # error Compiler does not support zero-length arrays. #endif };
@R-Tea, post #1
@asman, post #2
@asman, post #4
DoMethod(mainwindow, MUIM_Notify, MUIA_Window_CloseRequest, TRUE, app, 2, MUIM_Application_ReturnID, MUIV_Application_ReturnID_Quit);
CONST UBYTE _image1_bz2[] = { /* header */ 0x00, 0x00, 0x00, 0x20, /* width: 32 */ 0x00, 0x00, 0x00, 0x20, /* height: 32 */ 'B', 'Z', '2', '\0', /* format: ARGB BZ2 */ 0x00, 0x00, 0x07, 0x61, /* datasize: 1889 Bytes */ /* actual bzip2 compressed data */ 0x42, 0x5A, 0x68, 0x39, 0x31, 0x41, 0x59, ...
BYTE _clockimage_raw[] = { 0x42, 0x5A, 0x68, 0x39, 0x31, 0x41, ...
@michal_zukowski, post #5
@R-Tea, post #6
@R-Tea, post #7
@asman, post #8