Florian Lindner <[email protected]> writes:
>> What do you expect when you put some things in the namespace and 
>> include
>> dependencies outside the namespace?
>
> Well, I have these symbols in the petsc and in the global namespace.

No, the headers have guards so that they are only processed once.  So
the first time you include a file, that is the only place those symbols
will be declared.  And don't try to hack around the header guard because
that is disallowed by the standard (though it might work anyway) and
will cause macro collisions.

Attachment: pgptbsXsdFhw2.pgp
Description: PGP signature

Reply via email to