#1245 Error compiling ooSqlite shell.c at level 9914

None
closed
Mark Miesfeld
ooSQLite (10)
complete
1
2014-02-14
2014-02-13
Staffan Tylen
No

The latest update 9914 generates the following compile errors:

src\sqlite\shell.c(2353) : error C2198: 'open_db' : too few arguments for call
src\sqlite\shell.c(2523) : error C2198: 'open_db' : too few arguments for call
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

It appears that the open_db routine now takes an additional argument (int keepAlive) which is not defined in the ooSQLite specific 'key' and 'rekey' routines.

Related

Bugs: #1245

Discussion

  • Mark Miesfeld
    Mark Miesfeld
    2014-02-13

    Staffan, this looks like a simple enough change, I'll commit it this evening.

    That being said, I'm not willing to support the SQLITE_HAS_CODEC in the future, unless it is very simple.

    I no longer have a set up where I can test a SQLITE_HAS_CODEC build and, to be clear, SQLITE_HAS_CODEC is officially not supported in ooSQLite.

    If future problems crop up, I'm willing to apply a patch to the ooSQLite code base, if it is simple and clearly does not interfere with the existing code base.

    Thanks.

     
    • Staffan Tylen
      Staffan Tylen
      2014-02-13

      Thanks Mark. Just let me know when you remove support and I will make the
      necessary changes to handle this myself.

      Staffan

      On Thu, Feb 13, 2014 at 6:37 PM, Mark Miesfeld miesfeld@users.sf.netwrote:

      Staffan, this looks like a simple enough change, I'll commit it this
      evening.

      That being said, I'm not willing to support the SQLITE_HAS_CODEC in the
      future, unless it is very simple.

      I no longer have a set up where I can test a SQLITE_HAS_CODEC build and,
      to be clear, SQLITE_HAS_CODEC is officially not supported in ooSQLite.

      If future problems crop up, I'm willing to apply a patch to the ooSQLite
      code base, if it is simple and clearly does not interfere with the existing
      code base.

      Thanks.

      • [bugs:#1245] Error compiling ooSqlite shell.c at level 9914*

      Status: open
      Labels: ooSQLite
      Created: Thu Feb 13, 2014 11:07 AM UTC by Staffan Tylen
      Last Updated: Thu Feb 13, 2014 11:07 AM UTC
      Owner: Mark Miesfeld

      The latest update 9914 generates the following compile errors:

      src\sqlite\shell.c(2353) : error C2198: 'open_db' : too few arguments for
      call
      src\sqlite\shell.c(2523) : error C2198: 'open_db' : too few arguments for
      call
      NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
      Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
      Stop.

      It appears that the open_db routine now takes an additional argument (int
      keepAlive) which is not defined in the ooSQLite specific 'key' and 'rekey'
      routines.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/oorexx/bugs/1245/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #1245

      Attachments


Anonymous


Cancel   Add attachments