westes / flex

The Fast Lexical Analyzer - scanner generator for lexing in C and C++
Other
3.55k stars 529 forks source link

BSD licensing while containing GPL-2.0 header in some files #603

Closed maxhbr closed 10 months ago

maxhbr commented 10 months ago

Hey,

I browsed through your source code and saw that some files are under the GNU Library General Public License version 2 without any exception. https://github.com/westes/flex/blob/ee2d527aa0454df4ae8970853829e492db3b4bc7/src/gettext.h#L1-L18

But on top level and in the README.md and COPYING it is just mentions BSD-2-Clause.

It might be worth to clarify this in the readme and explain why the copyleft does not apply to the project.

westes commented 10 months ago

Because gettext works like that; you're welcome to submit a pull request containing the relevant explanation if you genuinely think it's needed.

maxhbr commented 10 months ago

Ah, it is a GNU Library General Public License. A fairly old LGPL-2.0. Sorry for missing the important L.

So, including the header files is fine.

the current release is under the GNU Lesser General Public License (LGPL).