[quickjs-devel] Re: GCC cleanup plugin

  • From: Saúl Ibarra Corretgé <s@xxxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Tue, 27 Aug 2019 15:24:54 +0200

[snip]


This is very interesting, thanks for sharing! Alas I had to stop at the
first line due to it being GPL licensed. Any chance you can use a more
liberal license like QuickJS's own MIT?

Why would it be useful? It's part of GCC, and not part of the compiled 
programs,
so it doesn't affect licensing of compiled programs. Also, I can't relicense 
it,
as some of the code was taken from GCC and modified. If anything, I should add
FSF's copyright notice there, too. I've updated the license header.

Also it looks like to me that GCC's authors' wishes are for plugins to be
released under GPL.

Also, does this also work on Clang?

No. It's a plugin for GCC.


Ah, I see now. I thought since Clang also supports
__attribute__(cleanup) there might be a way to do it.

Thanks for explaining!


Cheers,

-- 
Saúl

Other related posts: