Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.2.5
-
Fedora 27 with GCC7
Description
Hello,
I encountered some compile time errors while compiling with GCC7, because (most probabbly) come standards doesn't allow ceratin operation anymore.
/builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc: In function 'void fil_crypt_rotate_page(const key_state_t*, rotate_thread_t*)': |
/builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc:1770:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] |
if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) { |
^~~~~~~~~~~~~
|
/builddir/build/BUILD/mariadb-10.2.5/sql/sql_get_diagnostics.cc |
/builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc: In function 'void fil_crypt_rotate_page(const key_state_t*, rotate_thread_t*)': |
/builddir/build/BUILD/mariadb-10.2.5/storage/innobase/fil/fil0crypt.cc:1770:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] |
if (space == TRX_SYS_SPACE && offset == TRX_SYS_PAGE_NO) { |
^~~~~~~~~~~~~
|
Attachments
Issue Links
- duplicates
-
MDEV-13337 Compile error: mysys_ssl/openssl.c:37:1: error: parameter name omitted
- Closed
- relates to
-
MDEV-12474 Rocksdb - failing tests
- Closed
- links to