crypt.c: remove pragmas #1

Closed
normandy wants to merge 0 commits from gitlab-mr-iid-1 into fix/macos-arm64
Member

On some compilers, pragma messages are treated as a warning. If -Werror
is set, this would mean the compilation would erroneously fail.

On some compilers, pragma messages are treated as a warning. If -Werror is set, this would mean the compilation would erroneously fail.
Owner

Accepted but do note that mere -Werror should generaly be avoided as it has a lot of broken behavior and compilers tend to happily add warnings, using it for a category or precise warning like -Werror=format-security is fine though.

Accepted but do note that mere `-Werror` should generaly be avoided as it has a lot of broken behavior and compilers tend to happily add warnings, using it for a category or precise warning like `-Werror=format-security` is fine though.
Author
Member

Agreed, though it does seem Mix does this by default, at least with MIX_ENV not set: https://git.pleroma.social/pleroma/pleroma/-/issues/2710

Not sure if that behaviour also occurs if MIX_ENV is set to prod explicitly but that can be discussed in that issue.

Agreed, though it does seem Mix does this by default, at least with `MIX_ENV` not set: https://git.pleroma.social/pleroma/pleroma/-/issues/2710 Not sure if that behaviour also occurs if `MIX_ENV` is set to `prod` explicitly but that can be discussed in that issue.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma-elixir-libraries/crypt!1
No description provided.