Opened 10 years ago

Closed 10 years ago

#7443 closed Bugs (worksforme)

Wave driver deadlock

Reported by: m.champlon@… Owned by: Hartmut Kaiser
Milestone: To Be Determined Component: wave
Version: Boost 1.51.0 Severity: Showstopper
Keywords: Cc:

Description

Running wave.exe -Spath_to_boost deadlock.cpp with deadlock.cpp content being :

#ifndef FOO
#   define BAR
#   define BAR
#endif
#ifdef BAR
#include <boost/test/unit_test_suite.hpp>
#endif

results in a deadlock with the driver outputting indefinitely :

C:/dev\home\cpp\boost\boost\test\unit_test_suite.hpp:253:1: error: the #if for this directive is missing: #endif
C:/dev\home\cpp\boost\boost\test\unit_test_suite.hpp:253:1: error: the #if for this directive is missing: #endif
...

Note that unit_test_suite.hpp as only 246 lines. Also when inlining the whole unit_test_suite.hpp into deadlock.cpp the deadlock does not happen.

Also the wave driver from trunk revision 78862 does not have the problem.

MAT.

Change History (1)

comment:1 by Hartmut Kaiser, 10 years ago

Resolution: worksforme
Status: newclosed

Works for me (tm) on trunk rev [80761].

Note: See TracTickets for help on using tickets.