# add \-Wno-pragma-pack when targeting windows-gnu · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d9c4c96bf2755fba09cdf6c7f56b97b66b5255eb)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d9c4c96bf2755fba09cdf6c7f56b97b66b5255eb

Requested commit: d9c4c96bf2755fba09cdf6c7f56b97b66b5255eb

Commit: d9c4c96bf2755fba09cdf6c7f56b97b66b5255eb

Tree: 18f13a3eba13993daf79e197be34ca239d290f3d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add -Wno-pragma-pack when targeting windows-gnu

windows.h has files such as pshpack1.h which do #pragma packing,
triggering a clang warning. So for this target, this warning is
disabled.

this commit also improves the error message printed when no libc can be
used, printing the "zig triple" rather than the "llvm triple".

```

## Parents

- [b4bbfe8c05760ee8ef94f7e23a8928e3cf8f6343](https://git.cafe/gitcafe/zig/commit/b4bbfe8c05760ee8ef94f7e23a8928e3cf8f6343?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d9c4c96bf2755fba09cdf6c7f56b97b66b5255eb?format=markdown)
