Re: More desk clutter... :-)

2017-03-27 Thread Hal Murray
strom...@nexgo.de said: >> Is that "out" a typo? > No, it belongs to the "of the box", not to "PPS". Ahh. Thanks. Interesting how I got stuck with the alternate parsing and never even considered that one. Sorry for the clutter. -- These are my opinions. I hate spam. __

Re: More desk clutter... :-)

2017-03-27 Thread Gary E. Miller
Yo Achim! On Mon, 27 Mar 2017 23:14:05 +0200 Achim Gratz wrote: > Well, the navSpark mini didn't quite like being in the box and dropped > the ball quite often. I've routed the cable out through the oening > for the HDMI port and built some contraption to put the GPS antenna > on even further a

Re: More desk clutter... :-)

2017-03-27 Thread Achim Gratz
Achim Gratz writes: > I've configured two NavSpark mini to go into the two boxen. I can just > fit them in, so they won't be outside anymore like on the Pi 2B. The > cases I bought don't have any way to get some cables out, but the > shrouds on the USB ports leave an opening just wide enough to g

Re: More waf confusion

2017-03-27 Thread Gary E. Miller
Yo Hal! On Mon, 27 Mar 2017 00:37:59 -0700 Hal Murray wrote: > There is another bunch of stuff that isn't used by code but is used > by waf internally. Gary's recent work added: > #define HAS_PIC 1 > /* #undef HAS_PIE */ > #define HAS_gnu99 1 > #define HAS_unused 1 > #define HAS_z_now

Re: MISRA 2008 C++ violations

2017-03-27 Thread Achim Gratz
Daniel Poirot writes: > Using the MISRA 2012 C Guidelines, I find a stunning 19,144 deviations > from the 'full' standard. See, different number than before. So, is that something we can look at somewhere and ideally have it re-run for each commit or some tags? [I've just seen you've sent the su

Re: MISRA 2008 C++ violations

2017-03-27 Thread Gary E. Miller
Yo Daniel! On Mon, 27 Mar 2017 14:09:44 -0500 Daniel Poirot wrote: > Point being, there are things to look into if anyone is interested. We have been working aroung ctl_putXXX() for the last few months, and a lot of obvious things there yet to fix. We're interested, only so much the current te

Re: MISRA 2008 C++ violations

2017-03-27 Thread Daniel Poirot
Forking the fork... Using the MISRA 2012 C Guidelines, I find a stunning 19,144 deviations from the 'full' standard. Point being, there are things to look into if anyone is interested. - dan On Mon, Mar 27, 2017 at 1:29 PM, Achim Gratz wrote: > Daniel Poirot writes: >> The BEST part of standa

Re: MISRA 2008 C++ violations

2017-03-27 Thread Achim Gratz
Daniel Poirot writes: > The BEST part of standards is there are so many of them! > > :-) https://m.xkcd.com/927/ Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#Waldor

Re: MISRA 2008 C++ violations

2017-03-27 Thread Daniel Poirot
The BEST part of standards is there are so many of them! :-) On Mon, Mar 27, 2017 at 1:01 PM Achim Gratz wrote: > Daniel Poirot writes: > > The definition document, 'MISRA C++ Guidelines for the use of the C++ > > language in critical systems', is a 220 page guide to building high > > quality

Re: MISRA 2008 C++ violations

2017-03-27 Thread Achim Gratz
Daniel Poirot writes: > The definition document, 'MISRA C++ Guidelines for the use of the C++ > language in critical systems', is a 220 page guide to building high > quality C++ code. Wouldn't it be more appropriate to use the MISRA C guidelines for this discussion? Also, this document is relevan

Re: More desk clutter... :-)

2017-03-27 Thread Achim Gratz
Hal Murray writes: > strom...@nexgo.de said: >> Given that the Tinkerboard currently does not seem to allow PPS out of the >> box I'll pass on that. > > Is that "out" a typo? No, it belongs to the "of the box", not to "PPS". The kernel for the tinkerboard has PPS support (core) compiled in, but

Re: More waf confusion

2017-03-27 Thread Eric S. Raymond
Hal Murray : > HAVE_UINT64_T isn't currently used. The comment in wafhelpers/configure.py > says > # int32_t and uint32_t probes aren't really needed, POSIX guarantees > # them. But int64_t and uint64_t are not guaranteed to exist on 32-bit > # machines. The calendar and ISC code

MISRA 2008 C++ violations

2017-03-27 Thread Daniel Poirot
[forking the discussion to its own thread] Static analysis tools vendors are between a rock and a hard place when it comes to MISRA. Folks often think 'more is better' when it comes to analysis rules but MISRA is a whole different story. With foundations in robustness and high availability, MISR

More waf confusion

2017-03-27 Thread Hal Murray
Somebody recently removed some cruft from config.h That reminded me that there is more junk in there. So I took a handy config.h and grep-ed the source code, looking for symbols that were not used by any code. First hit: #define NTPSEC_VERSION_MAJOR 0 /* Major version number */ #define NTPS