From 68ff3d0697691f5611176e8f8449d66b1e3535c4 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 9 Dec 2025 18:58:12 +0100 Subject: Silence macOS (clang) compiler warning warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage] 399 | typedef struct { | ^ Weird. This file is compiled as C++ but clang warns about a "non-C-compatible type". Anyway, this commit fixes the warning. --- src/fl_boxtype.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fl_boxtype.cxx b/src/fl_boxtype.cxx index 8c6998344..a9c44be08 100644 --- a/src/fl_boxtype.cxx +++ b/src/fl_boxtype.cxx @@ -396,7 +396,7 @@ void fl_oxy_round_down_box(int x, int y, int w, int h, Fl_Color col); // See also Fl::box_bg() which returns true if bit 1 == zero. // ///////////////////////////////////////////////////////////////////// -typedef struct { +typedef struct BOXTABLE { Fl_Box_Draw_F *f; uchar dx, dy, dw, dh; int flags; -- cgit v1.2.3