Opened 12 years ago

Closed 12 years ago

#4321 closed Patches (fixed)

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>'

Attachments (1)

4321.patch (749 bytes ) - added by viboes 12 years ago.

Download all attachments as: .zip

Change History (3)

by viboes, 12 years ago

Attachment: 4321.patch added

comment:1 by viboes, 12 years ago

Type: BugsPatches

comment:2 by Anthony Williams, 12 years ago

Resolution: fixed
Status: newclosed

Fixed on trunk

Note: See TracTickets for help on using tickets.