Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#485 Trunk commit 8773 breaks db_http module build

trunk
closed-fixed
modules (454)
5
2012-03-13
2012-03-13
Dynamic Packet
No

It seems that commit 8773 breaks the building of db_http module. Trunk rev 8772 seems to build it just fine. Removing the db_http module from package build list is also confirmed to work on 8774. It seems some part of commit 8773 is causing this module not to build. Please zap this bug so we can get auto-builds back on track for apt repository.

build error output:

Compiling db_http.c
Compiling http_dbase.c
http_dbase.c:59: error: expected identifier before string constant
http_dbase.c: In function ‘do_http_op’:
http_dbase.c:702: error: ‘CUSTOM’ undeclared (first use in this function)
http_dbase.c:702: error: (Each undeclared identifier is reported only once
http_dbase.c:702: error: for each function it appears in.)
http_dbase.c:763: error: case label does not reduce to an integer constant
http_dbase.c:766: error: ‘REPLACE’ undeclared (first use in this function)
http_dbase.c:769: error: ‘INSERT_UPDATE’ undeclared (first use in this function)
http_dbase.c: In function ‘db_http_raw_query’:
http_dbase.c:1154: error: ‘CUSTOM’ undeclared (first use in this function)
http_dbase.c: In function ‘db_http_update’:
http_dbase.c:1219: warning: passing argument 14 of ‘do_http_op’ makes integer from pointer without a cast
http_dbase.c:663: note: expected ‘int’ but argument is of type ‘char *’
http_dbase.c: In function ‘db_http_replace’:
http_dbase.c:1238: error: ‘REPLACE’ undeclared (first use in this function)
http_dbase.c: In function ‘db_insert_update’:
http_dbase.c:1268: error: ‘INSERT_UPDATE’ undeclared (first use in this function)

Discussion

    • milestone: --> trunk
    • assigned_to: nobody --> bogdan_iancu
    • status: open --> closed-fixed
     
  • Fixed, thank you for the report!

    Regards,
    Bogdan