#1035 closed defect (fixed)

Build error in sqlglobals

Reported by: gsemmler Owned by: dmisev
Priority: major Milestone: 9.1.x
Component: reladminif Version: development
Keywords: Cc:
Complexity: Medium

Description

In file included from databaseif.cc:44:0:
databaseif.cc: In static member function ‘static void DatabaseIf::destroyDB(const char*)’:
sqlglobals.h:59:18: error: unable to find string literal operator ‘operator""view_name’ with ‘const char [21]’, ‘long unsigned int’ arguments
     UPDATE_QUERY("DROP VIEW IF EXISTS "view_name);
                  ^
sqlglobals.h:53:30: note: in definition of macro ‘UPDATE_QUERY’
     sqlite3_exec(sqliteConn, c, 0, 0, 0); \
                              ^
databaseif.cc:371:5: note: in expansion of macro ‘DROP_VIEW’
     DROP_VIEW("RAS_MDDTYPES_VIEW");
     ^
sqlglobals.h:59:18: error: unable to find string literal operator ‘operator""view_name’ with ‘const char [21]’, ‘long unsigned int’ arguments
     UPDATE_QUERY("DROP VIEW IF EXISTS "view_name);

Change History (5)

comment:1 Changed 18 months ago by dmisev

Did you recent patch address this? Then we can close it.

comment:2 Changed 18 months ago by dmisev

  • Resolution set to invalid
  • Status changed from new to closed

Please provide more information on how to reproduce and reopen, in the meantime I'm closing it.

comment:3 Changed 18 months ago by gsemmler

comment:4 Changed 18 months ago by dmisev

  • Milestone set to 9.1.x
  • Resolution invalid deleted
  • Status changed from closed to reopened

comment:5 Changed 18 months ago by dmisev

  • Resolution set to fixed
  • Status changed from reopened to closed

Ah great :)

Note: See TracTickets for help on using tickets.