3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

Fix compiler warnings from GCC.

This commit is contained in:
Rasmus Munk Larsen 2023-10-02 11:24:53 -07:00 committed by Lofty
parent cb9f318d37
commit a6247cba42

View file

@ -316,7 +316,9 @@ inline std::string vstringf(const char *fmt, va_list ap)
#endif #endif
} }
inline std::string stringf(const char *fmt, ...) YS_ATTRIBUTE(format(printf, 1, 2)) std::string stringf(const char *fmt, ...) YS_ATTRIBUTE(format(printf, 1, 2));
inline std::string stringf(const char *fmt, ...)
{ {
std::string string; std::string string;
va_list ap; va_list ap;