#12985: Possible future issues with ECL build with unicode enabled
------------------------------------------------------------------+---------
       Reporter:  pcpa                                            |         
Owner:  was            
           Type:  enhancement                                     |        
Status:  needs_info     
       Priority:  minor                                           |     
Milestone:  sage-5.3       
      Component:  interfaces                                      |    
Resolution:                 
       Keywords:                                                  |   Work 
issues:                 
Report Upstream:  Reported upstream. Developers deny it's a bug.  |     
Reviewers:  François Bissey
        Authors:  Paulo César Pereira de Andradet                 |     Merged 
in:                 
   Dependencies:                                                  |      
Stopgaps:                 
------------------------------------------------------------------+---------

Comment (by pcpa):

 Sage and maxima must link to an ecl with the same build options. From
 `/usr/include/ecl/external.h`

 {{{
 #ifdef ECL_UNICODE
 extern ECL_API cl_object si_base_char_p(cl_object x);
 extern ECL_API cl_object si_base_string_p(cl_object x);
 extern ECL_API cl_object si_coerce_to_base_string(cl_object x);
 extern ECL_API cl_object si_coerce_to_extended_string(cl_object x);
 #define ecl_alloc_simple_extended_string(l)
 ecl_alloc_simple_vector((l),aet_ch)
 extern ECL_API cl_object ecl_alloc_adjustable_extended_string(cl_index l);
 #else
 #define si_base_char_p cl_characterp
 #define si_base_string_p cl_stringp
 #define si_coerce_to_base_string cl_string
 #define si_coerce_to_extended_string cl_string
 #endif
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12985#comment:21>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to