]> git.ipfire.org Git - thirdparty/gcc.git/commit
[Darwin] Fix Objective-C NeXT ABI version check diagnostics.
authorIain Sandoe <iain@sandoe.co.uk>
Wed, 30 Oct 2019 20:42:56 +0000 (20:42 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Wed, 30 Oct 2019 20:42:56 +0000 (20:42 +0000)
commit0811bd225540cbcca568f6da1bb89407fcad7005
treebfed2be3b4d640d2c2a247434667f8732cc9565c
parentbad511268259f92e226153073988fe27c73178e8
[Darwin] Fix Objective-C NeXT ABI version check diagnostics.

This fixes build errors when used with newer GCC and corrects a mistake
in the checking of ABI versions.

276768 We were missing a check for the case that user's ABI was > 2 and the
codegen was for 64 bit.

276635 Fix some format-related build warnings.

This fixes two error messages to avoid punctuation and contracted
negations.

2019-10-30  Iain Sandoe  <iain@sandoe.co.uk>

Backport from mainline
2019-10-09  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_override_options): Make the check for
Objective-C ABI version more specific for 64bit code.

Backport from mainline
2019-10-06  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.c (darwin_override_options): Adjust objective-c
ABI version error messages to avoid punctuation and contracted
negations.

From-SVN: r277645
gcc/ChangeLog
gcc/config/darwin.c