Post Reply 
Short Guide on Compiling NewRPL
11-18-2016, 03:34 PM (This post was last modified: 11-18-2016 03:34 PM by Han.)
Post: #8
RE: Short Guide on Compiling NewRPL
(11-18-2016 02:54 PM)Claudio L. Wrote:  
(11-18-2016 01:35 PM)Han Wrote:  
  • battery.c vs hal_api.h: battery.c uses unsigned int __battery __SYSTEM_GLOBAL__; and at the same time includes ui.h (which then includes hal_api.h). Within hal_api.h is the declaration WORD __battery; which makes the Xcode compiler upset
  • decimal.h declares BINT sig_digits(BINT word); but decimal.c defines the function using int sig_digits(BINT word). So it seems that Xcode just likes to be very particular about types (despite the typedef in newrpl.h)

I'll fix this. Could you email me a complete capture with all your warnings and errors? Picky or not, the ones above need to be fixed in the code, and the others about const probably too, I just never came across these issues because my compiler never told me :-).

I emailed you text files of only the warnings (since my tree has the modified sources). I can start fresh (new git clone) if you want the errors, too (although the above modifications fix the errors).

Graph 3D | QPI | SolveSys
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Short Guide on Compiling NewRPL - Han - 11-17-2016, 07:01 PM
RE: Compiling NewRPL Guide - Claudio L. - 11-17-2016, 07:26 PM
RE: Compiling NewRPL Guide - Han - 11-17-2016, 07:48 PM
RE: Compiling NewRPL Guide - Han - 11-18-2016, 03:12 AM
RE: Short Guide on Compiling NewRPL - Han - 11-18-2016, 01:35 PM
RE: Short Guide on Compiling NewRPL - Han - 11-18-2016 03:34 PM
RE: Short Guide on Compiling NewRPL - Han - 11-18-2016, 05:49 PM
RE: Short Guide on Compiling NewRPL - Han - 11-19-2016, 01:12 AM



User(s) browsing this thread: 1 Guest(s)