You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a header-only template, the libname.a file should not be generated when compiling
Actual Behavior:
In a header-only template, a libname.a file is generated and included in the template zip. This may sometimes, but not always, cause projects which have the template installed to not compile, as it does not recognize the file and attempts to handle it as a linker script.
Steps to reproduce:
Create an empty PROS project
Set IS_LIBRARY to 1
Set LIBNAME to headeronly
Add headeronly.h to the include directory, and to TEMPLATE_FILES
Run pros make; pros make template
Run pros c fetch headeronly@1.0.0.zip
Extract headeronly@1.0.0.zip
Observe headeronly.a in firmware directory
System information:
Windows 11: Reproduced
Linux (Ubuntu, Arch): Reproduced
macOS: unknown
Activity
ronilmitra7 commentedon Feb 21, 2026
Tested on macOS, headeronly.a does not appear in the firmware directory.