build: enable --error-on-warn
for POSIX workflows
#33357
Merged
--error-on-warn
for POSIX workflows
#33357