Skip to content

Fix build #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Fix build #2

wants to merge 1 commit into from

Conversation

serval2412
Copy link

In file included from ../../IscDbc/IscDatabaseMetaData.cpp:47:
../../IscDbc/IscDatabaseMetaData.cpp: In member function ‘virtual const char* IscDbcLibrary::IscDatabaseMetaData::getDriverVersion()’:
../../IscDbc/../SetupAttributes.h:139:65: error: inconsistent user-defined literal suffixes ‘minor’ and ‘buildnum’ in string literal
#define BUILD_DRIVER_VERSION(major,minor,buildnum) major"."minor"."buildnum
^~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:150:25: note: in expansion of macro ‘BUILD_DRIVER_VERSION’
#define DRIVER_VERSION BUILD_DRIVER_VERSION( ZERO_MAJOR BUILD_STR2( MAJOR_VERSION ), ZERO_MINOR BUILD_STR2( MINOR_VERSION ), ZERO_BUILDNUM BUILD_STR2( BUILDNUM_VERSION ) )
^~~~~~~~~~~~~~~~~~~~
../../IscDbc/IscDatabaseMetaData.cpp:350:9: note: in expansion of macro ‘DRIVER_VERSION’
return DRIVER_VERSION;
^~~~~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:139:65: error: unable to find string literal operator ‘operator""minor’ with ‘const char [5]’, ‘long unsigned int’ arguments
#define BUILD_DRIVER_VERSION(major,minor,buildnum) major"."minor"."buildnum
^~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:150:25: note: in expansion of macro ‘BUILD_DRIVER_VERSION’
#define DRIVER_VERSION BUILD_DRIVER_VERSION( ZERO_MAJOR BUILD_STR2( MAJOR_VERSION ), ZERO_MINOR BUILD_STR2( MINOR_VERSION ), ZERO_BUILDNUM BUILD_STR2( BUILDNUM_VERSION ) )
^~~~~~~~~~~~~~~~~~~~
../../IscDbc/IscDatabaseMetaData.cpp:350:9: note: in expansion of macro ‘DRIVER_VERSION’
return DRIVER_VERSION;
^~~~~~~~~~~~~~

In file included from ../../IscDbc/IscDatabaseMetaData.cpp:47:
../../IscDbc/IscDatabaseMetaData.cpp: In member function ‘virtual const char* IscDbcLibrary::IscDatabaseMetaData::getDriverVersion()’:
../../IscDbc/../SetupAttributes.h:139:65: error: inconsistent user-defined literal suffixes ‘minor’ and ‘buildnum’ in string literal
 #define BUILD_DRIVER_VERSION(major,minor,buildnum) major"."minor"."buildnum
                                                                 ^~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:150:25: note: in expansion of macro ‘BUILD_DRIVER_VERSION’
 #define DRIVER_VERSION  BUILD_DRIVER_VERSION( ZERO_MAJOR BUILD_STR2( MAJOR_VERSION ), ZERO_MINOR BUILD_STR2( MINOR_VERSION ), ZERO_BUILDNUM BUILD_STR2( BUILDNUM_VERSION ) )
                         ^~~~~~~~~~~~~~~~~~~~
../../IscDbc/IscDatabaseMetaData.cpp:350:9: note: in expansion of macro ‘DRIVER_VERSION’
  return DRIVER_VERSION;
         ^~~~~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:139:65: error: unable to find string literal operator ‘operator""minor’ with ‘const char [5]’, ‘long unsigned int’ arguments
 #define BUILD_DRIVER_VERSION(major,minor,buildnum) major"."minor"."buildnum
                                                                 ^~~~~~~~~~~
../../IscDbc/../SetupAttributes.h:150:25: note: in expansion of macro ‘BUILD_DRIVER_VERSION’
 #define DRIVER_VERSION  BUILD_DRIVER_VERSION( ZERO_MAJOR BUILD_STR2( MAJOR_VERSION ), ZERO_MINOR BUILD_STR2( MINOR_VERSION ), ZERO_BUILDNUM BUILD_STR2( BUILDNUM_VERSION ) )
                         ^~~~~~~~~~~~~~~~~~~~
../../IscDbc/IscDatabaseMetaData.cpp:350:9: note: in expansion of macro ‘DRIVER_VERSION’
  return DRIVER_VERSION;
         ^~~~~~~~~~~~~~
@AsToNlele
Copy link

Seriously, why isnt this merged?

@mrotteveel
Copy link
Member

@AsToNlele Unfortunately, the maintainer of the firebird-odbc-driver hasn't been active lately. Until he returns, or another maintainer steps up, this project is pretty much on hold.

@hostilefork
Copy link

I can confirm that this allowed the driver to build for me in gcc 9.3.0 on Ubuntu 20.04 (after some fiddling with FBLIBDIR to point it at /usr/lib/x86_64-linux-gnu, which didn't seem to be one of the expected options by makefile.environ).

Since this is under the purview of the FirebirdSQL organization, shouldn't someone from that be able to merge this change?

@mariuz
Copy link
Member

mariuz commented Sep 23, 2022

@serval2412 serval2412 closed this by deleting the head repository Jun 10, 2023
irodushka added a commit that referenced this pull request Jan 24, 2024
Merge master->feature_ooapi
irodushka added a commit that referenced this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants