chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #574: Define-constant cannot be used with the FFI


From: Chicken Trac
Subject: Re: [Chicken-janitors] #574: Define-constant cannot be used with the FFI
Date: Sun, 15 May 2011 12:32:46 -0000

#574: Define-constant cannot be used with the FFI
-----------------------+----------------------------------------------------
  Reporter:  sjamaan   |       Owner:  felix                         
      Type:  defect    |      Status:  new                           
  Priority:  minor     |   Milestone:  4.8.0                         
 Component:  compiler  |     Version:  4.6.x                         
Resolution:            |    Keywords:  constants, ffi, foreign values
-----------------------+----------------------------------------------------
Changes (by felix):

  * priority:  not urgent at all => minor
  * milestone:  => 4.8.0


Comment:

 The constant-value must be evaluatable at compile-time. I will document
 this. The example you give later actually is a bug - "x" is treated as a
 symbol, as you correctly point out. Yet it expands into a variable
 reference. I have to investigate this more.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/574#comment:2>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

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