Page MenuHomeFreeBSD

libpmc: fix linking with C programs
ClosedPublic

Authored by asomers on Tue, Feb 9, 4:03 AM.

Details

Summary

Revision r334749 Added some C++ code to libpmc. It didn't change the ABI,
but it did introduce a dependency on libc++. Nobody noticed because every
program that in the base system that uses libpmc is also C++.

Reported-by: Dom Dwyer <dom@itsallbroken.com>

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Mon, Feb 15, 10:01 PM
This revision was automatically updated to reflect the committed changes.