加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

SQLite3.c中的一个bug:error: expected value in expression #if

发布时间:2020-12-12 19:16:58 所属栏目:百科 来源:网络整理
导读:I got a error: expected value in expression #if SQLITE_HAS_CODEC after I add the code in sqlite3.c as below: #ifndef SQLITE_HAS_CODEC #define SQLITE_HAS_CODEC #endif so I try to get the latest sqlite3.c as below: tar xzf sqlite.tar.gz ; #

I got a error: expected value in expression #if SQLITE_HAS_CODEC after I add the code in sqlite3.c as below:

#ifndef SQLITE_HAS_CODEC
#define SQLITE_HAS_CODEC
#endif

so I try to get the latest sqlite3.c as below:

tar xzf sqlite.tar.gz    ;# Unpack the source tree into "sqlite"
    mkdir bld                ;# Build will occur in a sibling directory
    cd bld                   ;# Change to the build directory
    ../sqlite/configure      ;# Run the configure script
    make                     ;# Run the makefile.
    make sqlite3.c           ;# Build the "amalgamation" source file
    make test                ;# Run some tests (requires Tcl)

I find out the result:

?  bld cat sqlite3.c |grep '#if SQLITE_HAS_CODEC'
#if SQLITE_HAS_CODEC
#if SQLITE_HAS_CODEC
#if SQLITE_HAS_CODEC 
#if SQLITE_HAS_CODEC

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读