DavidKinder / Inform6

The latest version of the Inform 6 compiler, used for generating interactive fiction games.
http://inform-fiction.org/
Other
199 stars 32 forks source link

How to build lib 6.11 with current inform6 master #294

Open stormi opened 5 days ago

stormi commented 5 days ago

Part of the French IF community still uses inform 6. Our French libraries still rely on the 6.11 version of the inform libraries. Up to inform 6.42, we could still build games with these libraries, but the recent addition of verb name collision apparently highlights an issue in infix.h , so builds fail:

"inform6lib-6.11/infix.h", line 1053: Error:  Two different verb definitions refer to ";examine"
> Verb meta ';xo' ';examineo'
"inform6lib-6.11/infix.h", line 1055: Error:  Two different verb definitions refer to ";examine"
> Verb meta ';xs' ';examines'

We'd like to switch to 6.12.x someday, but it has an important impact on the French libs that no one has tackled yet, so for now we still rely on 6.11.

erkyrath commented 5 days ago

Yeah, I ran into this while testing. I applied this fix in my testing repository:

https://github.com/erkyrath/Inform6-Testing/commit/e24fd1a4fdbd6c6afb47455a5415370744ec488f

This just changes the Infix debug verbs ;EXAMINEO and ;EXAMINES to ;EXO and ;EXS.

heasm66 commented 20 hours ago

Just to clarify...

This error isn't limited to 6.11, you get the same complaint in 6.12.6.

;examineo and ;examines are both 10 z-chars long so I can't see that these long versions of the verbs ever worked.

erkyrath commented 17 hours ago

The outcome from that error was that the verbs sometimes worked right. I suspect one of them worked and the other one triggered some adjacent infix action, so it might have been easy to overlook.

Yeah, I'll add a bug report for the 6/12 library repo.