Branch: refs/heads/master
  Commit: 79418dce9b14754bf15285b7d72b93513c5c93cd
  Author: Liviu Chircu <>
  Date:   2018-03-10 (Sat, 10 Mar 2018)

  Changed paths:
    M Makefile.defs

  Log Message:
  build system: Add special handling for gcc 7.2

It appears that gcc's "-dumpversion" behaves differently in 7.2
than in previous versions, due to "-dumpfullversion" being introduced.

$ gcc -dumpversion
$ gcc -dumpfullversion

This breaks compilation on systems such as Xubuntu 17.10 with:

Makefile.defs:930: You are using an old and unsupported gcc version
(7), compile at your own risk!

This backwards-incompatible change seems to have been reverted in 7.3+,
though, where the full version is once again being dumped:

$ gcc -dumpversion
$ gcc -dumpfullversion

Devel mailing list

Reply via email to