1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-16 08:34:10 +02:00

Bug 1506 - Linux: Audacity permits building with gcc < 4.9.0, resulting in save project segfaults

My change here doesn't permit building with gcc 4.8 any more.  It would be nicer to do this during configure, but doing it at all may be enough to demote this bug from P1 status.
This commit is contained in:
James Crook 2016-10-07 23:07:00 +01:00
parent d6302bc370
commit 79c5834a24

View File

@ -24,6 +24,13 @@
#ifndef __AUDACITY_H__
#define __AUDACITY_H__
// If building with GNU compiler, then must be 4.9 or later.
// TODO: This would be much nicer as a standalone test in configure.ac
#if defined __GNUC__ && ( __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
#error insufficient compiler
#endif
// We only do alpha builds and release versions.
// Most of the time we're in development, so IS_ALPHA should be defined
// to 1.