-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-macosmacOSmacOSzig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature
Milestone
Description
Zig Version
0.11.0-dev.3395+1e7dcaa3a
Steps to Reproduce and Observed Behavior
open this zip file on macOS.
link_framework.zip
This succeeds:
$ clang -framework SDL2 -ISDL2.framework/Headers -F./ main.c
but this fails:
$ zig cc -framework SDL2 -ISDL2.framework/Headers -F./ main.c
In file included from main.c:8:
SDL2.framework/Headers/SDL.h:32:10: fatal error: 'SDL2/SDL_main.h' file not found
#include <SDL2/SDL_main.h>
^~~~~~~~~~~~~~~~~
1 error generated.
Expected Behavior
should match clang behavior
Metadata
Metadata
Assignees
Labels
bugObserved behavior contradicts documented or intended behaviorObserved behavior contradicts documented or intended behavioros-macosmacOSmacOSzig ccZig as a drop-in C compiler featureZig as a drop-in C compiler feature