html: ignore MSVC pragmas in GCC builds

Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
Simon Rozman 2025-06-05 12:06:51 +02:00
parent 2bfe310d47
commit 341073b587

View File

@ -29,6 +29,11 @@
#undef small
#endif
#if defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunknown-pragmas"
#endif
namespace stdex
{
namespace html
@ -2687,3 +2692,7 @@ namespace stdex
};
}
}
#if defined(__GNUC__)
#pragma GCC diagnostic pop
#endif