C Compiling: error: stray '\4' in program ; octal flow?

前端 未结 2 1957
滥情空心
滥情空心 2021-01-28 23:50

Trying to compile a load of .c files

(1) The files compile ok, using cc

cc -Wall -Wextra -Wunreachable-code -ggdb -O0 *.c 

2条回答
  •  我在风中等你
    2021-01-29 00:30

    You are including a binary file in your .cpp source

    (line 1 of testme.cpp)
    #include "liborientdb-c.a"
    

    Look for a header file named "liborientdb-c.h", and include that (guessing, you probably want to include all of the appropriate *.h header files).

    And your makefile should link against the above .a file.

提交回复
热议问题