# Compilation: Clean up addCCArgs\(\)\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 39c4efa2a75e1e369a5d39b32d91d376fbd2257a

Requested commit: 39c4efa2a75e1e369a5d39b32d91d376fbd2257a

Commit: 39c4efa2a75e1e369a5d39b32d91d376fbd2257a

Tree: 099aecff69a15dab74ad2f8d58648f8c7a74b02e

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
Compilation: Clean up addCCArgs().

The goal of this commit is to get rid of some "unused command line argument"
warnings that Clang would give for various file types previously. This cleanup
also has the side effect of making the order of flags more understandable,
especially as it pertains to include paths.

Since a lot of code was shuffled around in this commit, I recommend reviewing
the old and new versions of the function side-by-side rather than trying to make
sense of the diff.

```

## Parents

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

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