-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"
Description
| Bugzilla Link | 3992 |
| Resolution | FIXED |
| Resolved on | Mar 12, 2010 00:57 |
| Version | unspecified |
| OS | FreeBSD |
| Blocks | #4068 |
| CC | @pwo |
Extended Description
$ cat test.c
int
main(int argc, char *argv[])
{
foo();
}
$ cat foo/test.h
#include <stdio.h>
void foo(void) { puts("Hi"); }
$ cc -o test -Ifoo -include test.h test.c
In file included from :106:
:1:10: fatal error: '/home/ed/test.h' file not found
#include "/home/ed/test.h"
^
1 diagnostic generated.
$ gcc -o test -Ifoo -include test.h test.c
$ ./test
Hi
As you can see, the -include preprocessor option ignores the include paths. This prevents us from building OpenSSL.
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"Language frontend issues, e.g. anything involving "Sema"