[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should I define _GNU_SOURCE?
From: |
Mathieu Lirzin |
Subject: |
Re: Should I define _GNU_SOURCE? |
Date: |
Mon, 22 Jan 2018 17:48:55 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Victor Porton <address@hidden> writes:
> Question 1: Should I ALWAYS use -D_GNU_SOURCE for compiler options no
> matter what are user options?
I forgot to answer this question, which is yes. This directive is just
a way to be explicit about the use of GNU extensions during the
compilation phase.
--
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761 070D 0ADE E100 9460 4D37