fork download
  1. #include <stdio.h>
  2.  
  3. #define DLLIMPORT
  4. #define BOOL int
  5.  
  6. typedef struct Lib_Wrapper
  7. {
  8. void *lib;
  9. } Lib_Wrapper;
  10.  
  11. DLLIMPORT Lib_Wrapper create_Lib(BOOL an_aus, const char *fileSettings);
  12.  
  13.  
  14. int main(void)
  15. {
  16. Lib_Wrapper lib = create_Lib(1, "file.ini");
  17. return 0;
  18. }
  19.  
Compilation error #stdin compilation error #stdout 0s 2288KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:16:14: warning: unused variable ‘lib’ [-Wunused-variable]
  Lib_Wrapper lib = create_Lib(1, "file.ini");
              ^
/home/ZKnSYM/ccuAsWSO.o: In function `main':
prog.c:(.text.startup+0x28): undefined reference to `create_Lib'
collect2: error: ld returned 1 exit status
stdout
Standard output is empty