[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Many include are "" and not <>
From: |
Laurent Mazet |
Subject: |
Re: Many include are "" and not <> |
Date: |
Wed, 7 May 2003 16:44:38 +0200 |
On Mon, 5 May 2003 14:56:36 +0200
Laurent Mazet <address@hidden> wrote:
> Hello,
>
> I just notice that many file in ../octave-2.1.x/octave contain `#include
> "..."' instead of `#include <...>'. For me, this is a problem when creating
> depend file with mkoctfile. Even if DEPEND_FLAGS is set to -MM, mkoctfile
> generates a long list of file (all included by the `""' statement) which is
> not limited to local headers.
...
I answer to myself. Since GCC version 3.0, the -MM option changed. Now -MM only
excludes file in "system header directories". So, if Octave is installed in
/usr/local, even if all the #include directive are angle brackets, they will
all appear in the depend rule.
I've done a patch to change all double quote into angle brackets, but it seems
useless.
Regards,
Laurent
--
Dr. Laurent Mazet: Research Engineer /V\ Centre de Recherche de MOTOROLA
Tel: +33 (0)1 69 35 48 30 =-=-=-=-=-=-=-=-=-=-= Email: address@hidden
include.patch
Description: Binary data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Many include are "" and not <>,
Laurent Mazet <=