Conversation
355284f to
fb249f2
Compare
Fixes -Wheader-guard compiler warnings.
Fixes -Wunused-result compiler warnings. Co-authored-by: Markus Metz <[email protected]>
Co-authored-by: Markus Metz <[email protected]>
Fixes -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Addresses -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
fb249f2 to
6a84665
Compare
|
Updated commit messages and I believe it is ready for merge. I did split the original "-Wincompatible-pointer-types-discards-qualifiers" fix commit into two, depending on the cause of the warning (and nature of fix). A note regarding the cast of the result of const char *db_get_default_driver_name(void)but in fact returns a grass/lib/db/dbmi_base/default_name.c Line 32 in 51fe070 which is here then re-casted back to |
IMHO, |
metzm
left a comment
There was a problem hiding this comment.
Ready to merge, thanks a lot!
Oh, I do understand the logic that db_get_default_driver_name() is a const and agree it's correct. Only brought it up because I suggested the return value could be wrapped in a G_store() instead of casting, but that wouldn't make much sense in light of its implementation. |
Fixes -Wheader-guard compiler warnings.
Fixes -Wunused-result compiler warnings. Co-authored-by: Markus Metz <[email protected]>
Co-authored-by: Markus Metz <[email protected]>
Fixes -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Addresses -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
|
Cherry picked and pushed to master. |
|
@metzm |
Fixes -Wheader-guard compiler warnings.
Fixes -Wunused-result compiler warnings. Co-authored-by: Markus Metz <[email protected]>
Co-authored-by: Markus Metz <[email protected]>
Fixes -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Addresses -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Fixes -Wheader-guard compiler warnings.
Fixes -Wunused-result compiler warnings. Co-authored-by: Markus Metz <[email protected]>
Co-authored-by: Markus Metz <[email protected]>
Fixes -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Addresses -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Fixes -Wheader-guard compiler warnings.
Fixes -Wunused-result compiler warnings. Co-authored-by: Markus Metz <[email protected]>
Co-authored-by: Markus Metz <[email protected]>
Fixes -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Addresses -Wincompatible-pointer-types-discards-qualifiers compiler warnings.
Fixes compiler warnings:
Eighth part addressing #1247.
Note: there are a few cases of OGR error handling added, please do pay special attention to them and their implementation.
Modules / code parts directly affected: