Opened 11 years ago

Closed 11 years ago

#6211 closed Bugs (fixed)

bcp does not extract all necessary files for Boost.Signals2

Reported by: tmmikolajczyk@… Owned by: John Maddock
Milestone: To Be Determined Component: bcp
Version: Boost 1.48.0 Severity: Problem
Keywords: bcp, signals2 Cc:

Description

Seems that required boost/parameter/aux_/overloads.hpp is missing.

In order to reproduce, do the following:

1) Command:

$ boost_1_48_0/dist/bin/bcp --boost=./boost_1_48_0/ signals2.hpp temp/ > bcp_signals2_hpp_out.txt no errors detected

(the bcp_signals2_hpp_out.txt is in the attachment)

2) Simple application:

#include <boost/signals2.hpp>

int main(int argc, char* argv[]) {

return 0;

}

3) Compilation:

$ g++ -I./ main.cpp In file included from ./boost/parameter/parameters.hpp:922:0,

from ./boost/parameter.hpp:11, from ./boost/signals2/signal_type.hpp:32, from ./boost/signals2.hpp:20, from main.cpp:2:

./boost/preprocessor/iteration/detail/iter/forward1.hpp:62:37: fatal error: boost/parameter/aux_/overloads.hpp: No such file or directory compilation terminated.

Looking into the code (/boost/parameter/parameters.hpp:922), the way of including "overloads.hpp" is not straightforward, that's why bcp may not be able to detect such dependency.

Attachments (1)

bcp_signals2_hpp_out.txt (69.7 KB ) - added by tmmikolajczyk@… 11 years ago.
bcp output

Download all attachments as: .zip

Change History (2)

by tmmikolajczyk@…, 11 years ago

Attachment: bcp_signals2_hpp_out.txt added

bcp output

comment:1 by John Maddock, 11 years ago

Resolution: fixed
Status: newclosed

(In [76136]) Fix regular expression scanner to handle Boost.PP macros defined over multiple lines. Fixes #6211.

Note: See TracTickets for help on using tickets.