chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1346: define-external variables can't be exported


From: Chicken Trac
Subject: [Chicken-janitors] #1346: define-external variables can't be exported
Date: Sat, 25 Feb 2017 23:07:49 -0000

#1346: define-external variables can't be exported
----------------------+--------------------------------
 Reporter:  sjamaan   |                 Owner:
     Type:  defect    |                Status:  new
 Priority:  major     |             Milestone:  someday
Component:  compiler  |               Version:  4.12.0
 Keywords:  ffi       |  Estimated difficulty:  medium
----------------------+--------------------------------
 This program fails to compile:

 {{{
 (module test (x)
   (import foreign scheme chicken)
   (define-external x int 123))
 }}}

 If you don't wrap it in a module, {{{x}}} doesn't exist if you load the
 shared object you get from {{{csc -s}}}.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1346>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]