Add -Wwrite-strings (char* vs. const char*) #290
No reviewers
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt!290
Loading…
Reference in a new issue
No description provided.
Delete branch "pr/write-strings"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR fixes warnings which appeared after turning on
-Wwrite-strings.But frankly, I am not sure whether we want or need to apply this.
Cool PR 👍
somehow you're right, we should probably wait until the release is done to apply this... not sure though... also in regards to ABI breakage...
@lvc could you please already tell us how this would influence our score? :-)
As for the API breakage I have doubts about changes in
ltc_ecc_set_typethe rest IMO should not cause big troubles.Suggestion: let's merge to
release/1.18.0the changes intests/*+ changes in<name>_test()functions. These are not going to break anything. After that we can discuss what will be left.@sjaeckel what do you think?
K, then split the commits up please.
Done #292
Once we have OK from Travis-CI I'll merge #292 to
release/1.18.0.Merged & rebased.
Now looking at the rest I think it is pretty safe to also merge:
ltc_dh_set_type(DH is completely new in 1.18)crypt_argchkLooks like it should be pretty safe to merge, let's see what the ABI checker says :-)