errors and warnings / manifest / W4306
W4306 warning
Embedded library without a recognizable license file or header
- area
- manifest (x4xxx)
- fails the build
- with --deny-warnings
An embedded library has no license wowlua can find. Every embedded library's
license goes into the AddOn's LICENSES.txt. wowlua looks for a LICENSE or
COPYING file in the library's folder and its package's license; for a
plain Lua library also a license header in its entry file or the files
lua-library.license-files names. A wowlua library in a workspace (or in the
folder of the package that uses it) without a license of its own has its root
package's.
Check the library's license before you publish: you may not be allowed to pass on code without one. Add the license file to the library, or ask its author to. The warning comes from a dependency's files, so it has no example here.
Related codes
| code | message |
|---|---|
| E4110 | Cannot determine the load order of a lua-library. Specify files. |
Offline
$ wowlua explain W4306 W4306 (warning): Embedded library without a recognizable license file or header