This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GPL Runtime Exception and C++ Inheritance


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.”


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]