[Libburn] Namespace resolution

Bryan Forbes bryan at reigndropsfall.net
Fri Jul 30 11:19:36 PDT 2004


I'm getting some namespace errors using libisofs.  It has to do with
libisofs declaring functions like this:

struct burn_source* iso_source_new (struct iso_volumeset *volumeset,
				    int volume);

When I call that from a c++ application, it tells me (when compiled)
that burn_source is ambiguous because there are now two burn_sources
declared: one in namespace burn, and one in namespace iso.  Do we need
the struct in front of burn_source since it is declared in libburn.h?  I
also found this problem using iso_source_generate (I had to cast the
return value and the burn_source).

-- 
======================================================================
Bryan Forbes
bryan at reigndropsfall.net
http://www.reigndropsfall.net

"It does not take a majority to prevail, but rather an irate, tireless
minority keen to set brush fires in people's minds."
        - Samuel Adams, an architect of the Constitution

Key fingerprint = 3D7D B728 713A BB7B B8B1  5B61 3888 17E0 70CA 0F3D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://freedesktop.org/pipermail/libburn/attachments/20040730/e4bcdaf4/attachment.pgp


More information about the libburn mailing list