mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 09:57:50 +08:00
a2c846338c
gcc 7 deprecates the use of varargs.h in favour of stdarg.h. mpfr already fixes it, but the fix is enabled if stdarg is available. This patch adds the test on CMakeLists.txt and enables the fix if needed.
7 lines
72 B
C
7 lines
72 B
C
# include <stdarg.h>
|
|
|
|
int main(int argc, char *argv) {
|
|
return 0;
|
|
}
|
|
|