Opened 15 years ago
Closed 14 years ago
#1556 closed Patches (fixed)
Missing initialisations, thread code now warning free
Reported by: | Owned by: | Anthony Williams | |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | thread |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: | jensseidel@… |
Description
Hi,
I compiled all header files in thread alone with g++ 4.3 and got some warnings because of not initialized variables. Probably it is at least once a real error and should be fixed.
I'm surprised that I did not find missing include statements, you did a good job! Please note that I skipped all headers in win32/.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | boost.thread.diff added |
---|
comment:1 by , 15 years ago
Status: | new → assigned |
---|
Note:
See TracTickets
for help on using tickets.
This code deliberately relies on the fact that initializing an aggregate with {0} initializes all members to zero.
I don't like the warnings, though.