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
PROS Version: 3.5.4
The text was updated successfully, but these errors were encountered:
Expected Behavior:
In a header-only template, the
libname.a
file should not be generated when compilingActual 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:
IS_LIBRARY
to1
LIBNAME
toheaderonly
headeronly.h
to theinclude
directory, and toTEMPLATE_FILES
pros make; pros make template
pros c fetch headeronly@1.0.0.zip
headeronly@1.0.0.zip
headeronly.a
infirmware
directorySystem information:
Windows 11: Reproduced
Linux (Ubuntu, Arch): Reproduced
macOS: unknown
PROS Version: 3.5.4
The text was updated successfully, but these errors were encountered: