public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Multiple descriptions for fassert in gcc/d/lang.opt and gcc/java/lang.opt
@ 2022-03-29  8:11 Zopolis0
  2022-03-29 15:41 ` Xi Ruoyao
  0 siblings, 1 reply; 4+ messages in thread
From: Zopolis0 @ 2022-03-29  8:11 UTC (permalink / raw)
  To: gcc-help

While trying to compile gcc with gcj re-added, it breaks on there being
multiple declarations of fassert in gcc/d/lang.opt and gcc/java/lang.opt.

options.cc:3241:2: error: #error Multiple different help strings for
fassert:
 3241 | #error Multiple different help strings for fassert:
      |  ^~~~~
options.cc:3242:2: error: ‘Generate’ was not declared in this scope
 3242 |  Generate code for assert contracts.
      |  ^~~~~~~~
options.cc:3242:11: error: expected ‘}’ before ‘code’
 3242 |  Generate code for assert contracts.

Given that both of these definitions seem to be necessary, how do I resolve
this conflict?
gcc/java/lang.opt
fassert
Java Var(flag_assert) Init(1)
Permit the use of the assert keyword.gcc/d/lang.opt
fassert
D Var(flag_assert)
Generate code for assert contracts.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-30 12:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-29  8:11 Multiple descriptions for fassert in gcc/d/lang.opt and gcc/java/lang.opt Zopolis0
2022-03-29 15:41 ` Xi Ruoyao
2022-03-30  9:32   ` Zopolis0
2022-03-30 12:00     ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).