GPL Runtime Exception and C++ Inheritance
Jonathan Wakely
jwakely.gcc@gmail.com
Wed Jul 5 11:23:00 GMT 2017
On 5 July 2017 at 02:28, Jeremy Vincent Yu wrote:
> Under the GPL3 runtime exception,am I allowed to subclass parts of the
> standard c++ library(e.g.std::vector) for use in my non-GPL program?What
> about instantiating objects of classes in the standard c++ library(e.g.
> std::string) in my own classes?
>
Nobody on this list is going to give you legal advice, but I will say
that the exception would be useless if you couldn't use std::string in
your own classes, so I consider this a rather silly question.
As the rationale at
https://www.gnu.org/licenses/gcc-exception-3.1-faq.html says:
As long as you use an Eligible Compilation Process, then you have
permission to take the Target Code that GCC generates and propagate it
“under terms of your choice.”
More information about the Gcc-help
mailing list