Opened 12 years ago

Closed 12 years ago

#4319 closed Bugs (duplicate)

warning: missing braces around initializer for '_SYSTEM_INFO::<anonymous union>'/'_LARGE_INTEGER::<anonymous struct>'

Reported by: viboes Owned by: Anthony Williams
Milestone: Boost 1.44.0 Component: thread
Version: Boost Development Trunk Severity: Cosmetic
Keywords: Cc:

Description

The following warnings appears on gcc4.4 mingw:

gcc.compile.c++ ..\..\..\bin.v2\libs\thread\build\gcc-mingw-4.4.0\debug\link-static\threading-multi\win32\thread.o ..\..\..\libs\thread\src\win32\thread.cpp: In static member function 'static unsigned int boost::thread::hardware_concurrency()': ..\..\..\libs\thread\src\win32\thread.cpp:307: warning: missing braces around initializer for '_SYSTEM_INFO::<anonymous union>' ..\..\..\libs\thread\src\win32\thread.cpp: In function 'LARGE_INTEGER boost::this_thread::<unnamed>::get_due_time(const boost::detail::timeout&)': ..\..\..\libs\thread\src\win32\thread.cpp:330: warning: missing braces around initializer for '_LARGE_INTEGER::<anonymous struct>'

Change History (1)

comment:1 by viboes, 12 years ago

Resolution: duplicate
Status: newclosed

Duplicated of #4321

Note: See TracTickets for help on using tickets.