bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug with mpz_ui_sub


From: Richard Dawe
Subject: Re: bug with mpz_ui_sub
Date: Tue, 01 Apr 2003 16:50:28 +0100

Hello.

Karl Hasselstrom wrote:
> OK, I looked it up. From the GCC 3.2.2 manual:
> 
> #include <file>
>    This variant is used for system header files. It searches for a
>    file named file in a standard list of system directories. You can
>    prepend directories to this list with the -I option (see
>    Invocation).
> 
> #include "file"
>    This variant is used for header files of your own program. It
>    searches for a file named file first in the directory containing
>    the current file, then in the same directories used for <file>.
> 
> Hopefully, other C preprocessors use the same rules.

The C99 standard says that #include "file" will be equivalent to #include
<file>, if file could not be found in any of the paths used for "". I expect
earlier versions of the C standard (e.g.: C89) say the same thing. (I don't
have a copy to check.)

Note that the C standard does not define how the include files are found. For
example, there could be separate lists of directories to search for files
included by "" and by <>.

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]