[Bug 675050] Review Request: cloudfs - Cloud Filesystem

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

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=675050

--- Comment #10 from Kaleb KEITHLEY <kkeithle@xxxxxxxxxx> 2011-06-27 15:13:24 EDT ---
All these hypothetical other packages that want to use glusterfs headers _and_
<uuid.h> have to do is compile with -iquote/usr/include/glusterfs (but they
better have a config.h somewhere in the scope of their includes.)

ISO C (ISO/IEC 9899:1999, 6.10.2) states that

    #include <foo.h>

searches ... implementation defined places for the header.

    #include "foo.h"

searches first in the same directory as the C file which included it, then in
implementation defined places, as with <foo.h>

The gcc info pages describe the implementation. For:

    #include <foo.h>

gcc looks in first in directories added with -I, then in /usr/local/include,
$libdir/gcc/$target/$version/include, /usr/$target/include, and /usr/include.

For:

    #include "foo.h"

gcc looks first in the directory containing the current file (i.e. the file
with the #include), then in directories specified with -iquote, then as for
<foo.h>.

For truth-and-beauty we should probably use -iquote for CloudFS.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review


[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]