Hello guys,
I'm trying to use miniLZO library for a project that I just started. I'm testing its functionality and got stuck at the start.
I'm coding a:
* Shared C library
* Using CLion as IDE
* On Windows (7 and 10 x64), using MinGW to compile
miniLZO uses 4 files, 1 *.c and 3 *.h files.
The first thing that has to be done to use LZO is cast lzo_init(), which is a macro defined in "lzoconf.h".
The IDE warns me about something, before compiling.
Looks like there's something wrong in the definition of lzo_init() or something else.
When I try to compile this simple program:
Blows here:
And here:
I'm attaching all the images because some of them got cutted.
Do you know what can be going wrong here? I'm not an experienced C programmer to understand what is happening. I've tried several workaround but nothing worked, looks like the problem is in the definition of the macro, line 337. I'll appreciate your help, thanks in advance.