Skip to content
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

Build failure with odbc #30

Open
Jarod42 opened this issue Nov 3, 2024 · 2 comments
Open

Build failure with odbc #30

Jarod42 opened this issue Nov 3, 2024 · 2 comments

Comments

@Jarod42
Copy link

Jarod42 commented Nov 3, 2024

From ubuntu CI, i.e

sudo apt-get install unixodbc-dev odbc-postgresql libsqliteodbc
# [..] WxWidgets build...
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DENABLE_MYSQL=1 -DENABLE_SQLITE=1 -DENABLE_PGS=1 -DENABLE_TDS=0 -DENABLE_ODBC=1 -DBUILD_SAMPLE=1
cmake --build build -j $(nproc)

produces

[ 56%] Building CXX object CMakeFiles/wxdatabase.dir/src/database/odbc/odbc_preparedstatement.cpp.o
/home/runner/work/wxDatabase/wxDatabase/src/database/odbc/odbc_param.cpp: In member function ‘SQLLEN* wxOdbcParameter::GetParameterLengthPtr()’:
/home/runner/work/wxDatabase/wxDatabase/src/database/odbc/odbc_param.cpp:255:10: error: invalid conversion from ‘long long int*’ to ‘SQLLEN*’ {aka ‘long int*’} [-fpermissive]
  255 |   return &m_nBufferLength;
      |          ^~~~~~~~~~~~~~~~
      |          |
      |          long long int*
@mtangoo
Copy link
Owner

mtangoo commented Nov 3, 2024

I will need to test here. Which Ubuntu version are you on?

@Jarod42
Copy link
Author

Jarod42 commented Nov 3, 2024

CI runner is ubuntu-24.04

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

No branches or pull requests

2 participants