Re: [Sdcc-user] pic14 users: Please test the pic14 branch!

2019-07-24 Thread Don Wooton
Thank you for the information! Making the configuration words static did seem to fix that. I will fix it everywhere that I have it wrong. I do like making the change to be like elsewhere though. I was not so successful with _INTCONbits. Maybe I did not do it correctly? Adding the extern inside d

Re: [Sdcc-user] pic14 users: Please test the pic14 branch!

2019-07-24 Thread Diego Herranz
>> I think the right way to go here should be to consider obsolete and discourage this way to define values for the configuration words and implement it through pragmas (as pic16 already does), and extend it to also support ID locations. +1. It would be good to make pic14 and pic16 as similar as p

Re: [Sdcc-user] pic14 users: Please test the pic14 branch!

2019-07-24 Thread Gonzalo Pérez de Olaguer Córdoba
Hi, Philipp and Don. The error with the configuration words can be avoided by declaring them 'static', as shown (but not explicitly said) in the sdcc manual. And to make the pic14 branch backwards compatible with the trunk with respect to this issue, a change in src/pic14/glue.c should be made: