Although a bit off track from the original subject, you may what to look at some sort of lint tool to check you code for syntax errors. If you use an editor such as Eclipse or Atom, this may do this for you already. https://en.wikipedia.org/wiki/Lint_(software)
You could also look at the warning and error level settings and options to increase the level of complaints when the code is compiled. Jon On Wed, Apr 29, 2020 at 9:28 AM maxmike <[email protected]> wrote: > > Without much longer belabouring the point, in my case gcc did not check >> my .h file; instead of checking it > > for syntax (a semicolon missing in a function definition) it accepted it > and reported what the effect was of trusting it - totally incomprehensible > errors. > > However, I have learned from this that before I compile the .c files I > will compile the .h's separately first - that would have prevented the > issue. > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/b27b924a-9ca3-44cf-bceb-a355d002da2f%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/b27b924a-9ca3-44cf-bceb-a355d002da2f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAG99bkqBbS6drEkBK8FnvGXzfR8Zj6igu%3DVx47Z2HAN49t6EYQ%40mail.gmail.com.
