Post Reply 
newRPL - build 1255 released! [updated to 1299]
05-31-2019, 03:33 AM (This post was last modified: 05-31-2019 03:52 AM by Han.)
Post: #460
RE: newRPL - build 1255 released! [official and unofficial]
Mac OS 10.14.5 (Mojave) build errors for firmware (but oddly, the simulator had no issues compiling):

Code:
../newrpl-sources/newrpl/decimal.c:1432:5: error: conflicting types for 'sig_digits'
 int sig_digits(BINT word)
     ^~~~~~~~~~
In file included from ../newrpl-sources/newrpl/newrpl.h:84,
                 from ../newrpl-sources/newrpl/decimal.c:9:
../newrpl-sources/newrpl/decimal.h:165:6: note: previous declaration of 'sig_digits' was here
 BINT sig_digits(BINT word);

Using latest XCode and ARM eabi (bare-metal) toolchain; latest Qt Creator seems to be quirky (to me anyway) regarding make parameters. I seem to be unable to set up a proper working "kit" in order to compile using Qt Creator. Perhaps someone can enlighten me on how to properly create a "kit". In particular, qmake seems to always add architecture-specific options that makes arm-none-eabi-gcc barf. I had to manually edit the Makefile to remove $(EXPORT_ARCH_ARGS) and -mmacosx-version-min= compiler flags. Even so, my strict compiler does not like the mismatched declarations (isn't BINT just a define for int anyway?).

EDIT: changing "int" to "BINT" in decimal.c fixes this issue to compile

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


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1255 released! [official and unofficial] - Han - 05-31-2019 03:33 AM
How to participate? - erazor - 12-13-2019, 07:12 AM



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