Another VS2026 issue

23 views
Skip to first unread message

David Connet

unread,
Dec 8, 2025, 6:38:40 PM (4 days ago) Dec 8
to wx-...@googlegroups.com
This only appeared when I was compiling my solution from the command
line (via msbuild). When compiled in the IDE, there is no warning.

'wxStdOutputStream': deriving from the base class
'std::basic_ostream<char,std::char_traits<char>>' can cause potential
runtime issues due to an ABI bug. Recommend adding a 4-byte data member
to the base class for the padding at the end of it to work around this bug.

Not sure what the issue they're referring to (I didn't search)... Hoping
since I always compile all my libs and exes with the same compiler
(never relying on ABI!) that things will be ok... (I added a `#pragma
warning(disable : 5291)` in my code to ignore this.

Dave

Reply all
Reply to author
Forward
0 new messages