jlaurens / synctex

Synchronization for TeX
MIT License
64 stars 19 forks source link

Fix compilation wit clang when checking format-nonliteral #38

Closed gpoo closed 4 years ago

gpoo commented 4 years ago

clang is stricter than gcc when compiling with -Wformat-nonliteral and requires annotate the function parameters when passing an argument to a va_list that contains these arguments.

https://clang.llvm.org/docs/AttributeReference.html#format