Skip to content

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

Open
roby65 wants to merge 3 commits intoran-j:mainfrom
roby65:fix-filenames-length
Open

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

Conversation

@roby65
Copy link

@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.

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.

1 participant