Skip to content

Commit

Permalink
On CentOS 7 with the system gcc 4.8.5, we get a bunch of these:
Browse files Browse the repository at this point in the history
error: 'for' loop initial declarations are only allowed in C99 mode

Bump USE_LANGUAGES c to c99.
  • Loading branch information
schmonz committed Oct 3, 2020
1 parent e85ece2 commit 6f6249b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/gcc5/Makefile
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2020/08/31 18:09:48 wiz Exp $
# $NetBSD: Makefile,v 1.38 2020/10/03 14:04:18 schmonz Exp $

GCC_PKGNAME= gcc5
PKGREVISION= 6
Expand All @@ -23,7 +23,7 @@ EXTRACT_ONLY= ${DEFAULT_DISTFILES}

NOT_FOR_PLATFORM= Interix-*-*

USE_LANGUAGES= c c++03
USE_LANGUAGES= c99 c++03
USE_TOOLS+= gmake makeinfo sed:run tar:build
USE_TOOLS.NetBSD+= gsed

Expand Down

0 comments on commit 6f6249b

Please sign in to comment.