Opened 5 years ago

Closed 5 years ago

#1622 closed defect (fixed)

srfi-41 does not compile with CHICKEN 5.1.0rc1

Reported by: sjamaan Owned by: Kon Lovett
Priority: major Milestone: someday
Component: extensions Version: 5.1.0rc1
Keywords: Cc:
Estimated difficulty: easy


Reported by Zepheir on IRC:

$ chicken-install srfi-41
building srfi-41
   /home/sjamaan/chickens/5.1.0rc1/bin/csc -host -D compiling-extension -J -s -regenerate-import-libraries -setup-mode -I /home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk -C -I/home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk -O3 -d1 -local -inline-limit 50 -no-procedure-checks -emit-types-file '/home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk/streams-primitive.types' streams-primitive.scm -o /home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk/

Warning: reference to possibly unbound identifier `stream-pair' in:
Warning:    g612
Warning:    g585
Warning:    g558
Warning:    g497

Warning: reference to possibly unbound identifier `stream' in:
Warning:    g145
Warning:    g129

Error: module unresolved: streams-primitive

Error: shell command terminated with non-zero exit status 256: '/home/sjamaan/chickens/5.1.0rc1/bin/chicken' 'streams-primitive.scm' -output-file '/home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk/streams-primitive.c' -dynamic -feature chicken-compile-shared -feature compiling-extension -emit-all-import-libraries -regenerate-import-libraries -setup-mode -include-path /home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk -optimize-level 3 -debug-level 1 -local -inline-limit 50 -no-procedure-checks -emit-types-file '/home/sjamaan/src/chicken-eggs/release/5/srfi-41/trunk/streams-primitive.types'

Looks like it might be a bug in typed records? It probably has to do with the identifiers generated by define-record-type.

Change History (2)

comment:1 Changed 5 years ago by sjamaan

Owner: changed from klovett to Kon Lovett
Status: newassigned

comment:2 Changed 5 years ago by Kon Lovett

Resolution: fixed
Status: assignedclosed

record-variants inline needs tag defined as identifier. see 2.0.1

Note: See TracTickets for help on using tickets.