Opened 14 years ago

Closed 13 years ago

#2406 closed Bugs (fixed)

implementation in header causes link errors

Reported by: troy d. straszheim Owned by: Jonathan Turkanis
Milestone: Component: iostreams
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc:

Description

gzip.hpp has some implementation in the header which will cause link errors if the component is used in more than one place. the gzip_header/gzip_footer classes can just go in a .cpp file

Change History (2)

comment:1 by Jonathan Turkanis, 14 years ago

Status: newassigned

comment:2 by Vladimir Prus, 13 years ago

Resolution: fixed
Status: assignedclosed

(In [53427]) Avoid non-inline non-template functions in headers.

This fixes #2406. gzip.hpp had a few functions that are not templates or inline, which caused link errors. Since the functions are fairly big, this patch moves them into a cpp file.

Note: See TracTickets for help on using tickets.