Opened 9 years ago

Closed 8 years ago

#1035 closed defect (fixed)

Build error in sqlglobals

Reported by: Georg Semmler Owned by: Dimitar Misev
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 by Dimitar Misev, 9 years ago

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

comment:2 by Dimitar Misev, 8 years ago

Resolution: invalid
Status: newclosed

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

comment:3 by Georg Semmler, 8 years ago

comment:4 by Dimitar Misev, 8 years ago

Milestone: 9.1.x
Resolution: invalid
Status: closedreopened

comment:5 by Dimitar Misev, 8 years ago

Resolution: fixed
Status: reopenedclosed

Ah great :)

Note: See TracTickets for help on using tickets.