Skip to content

Fixed recompiler error when the cpp filename is too long#88

Merged
ran-j merged 3 commits intoran-j:mainfrom
roby65:fix-filenames-length
Mar 1, 2026
Merged

Fixed recompiler error when the cpp filename is too long#88
ran-j merged 3 commits intoran-j:mainfrom
roby65:fix-filenames-length

Conversation

@roby65
Copy link
Contributor

@roby65 roby65 commented Feb 27, 2026

Fixes errors like:

Failed to open file for writing: ./output/Insert__H1ZPC22AptFileSavedInputState_Q32EA6Stringt11BasicString2Zt22StringAsVectorEncoding1Z22AptFileSavedInputStateZ20StringAsVectorPolicyRCX00T1RCQ42EA6Stringt11BasicString2Zt22StringAsVectorEncoding1Z22AptFileSavedInputStateZ20StringAsVectorPolicy11DbgIterator_v_0x3d0768.cpp

Now filename is truncated to a max of 100 characters, like this:

Insert__H1ZPC22AptFileSavedInputState_Q32EA6Stringt11BasicString2Zt22StringAsVectorEnco_0x3d0768.cpp

I decided 100 as max filename length, with 200 characters I was getting unspecified compiler errors. Under 100 characters looks like the sweet spot.

@ran-j ran-j merged commit b3be265 into ran-j:main Mar 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants