Skip to content

Conversation

@Noremos
Copy link
Contributor

@Noremos Noremos commented Apr 2, 2025

This is a replacement for my previous PR: /pull/8360.
I apologize for having to reopen it. The code is the same except for corrections addressing the last two issues from the original PR.

const ISC_STATUS isc_arg_warning = 18; // warning argument
const ISC_STATUS isc_arg_sql_state = 19; // SQLSTATE
#if __cplusplus >= 201703L // C++17 or later
#define STATUS_CONST inline constexpr ISC_STATUS
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is public header, so I think some FB-specific prefix in the macro is good.
Also, it should be good to undefine it after usage.

@dyemanov dyemanov merged commit 1175a17 into FirebirdSQL:master Apr 8, 2025
24 checks passed
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.

3 participants