Skip to content

Conversation

@jhjourdan
Copy link

No description provided.

@jhjourdan
Copy link
Author

Unison currently patches lablgtk at each Windows build, so merging this would really help Unison developers. See #165 .

@MisterDA
Copy link

MisterDA commented Nov 19, 2025

FYI there's a cool way to specify warnings for both cc-like and MSVC-like compilers:

(rule
 (with-stdout-to cflags.cc (echo "(-Wno-deprecated-declarations)")))

(rule
 (with-stdout-to cflags.msvc (echo "")))

(library
 (name mylib)
 (foreign_stubs
  (language c)
  (flags :standard (:include cflags.%{ocaml-config:ccomp_type}))
  (names mystubs)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants