Hi Matt,
I don't know what exactly causes buildbot to fail. It seems not a check
on the returncode of the compiler, a _warn "..." line in the code still
can result in a zero returncode. So if buildbot could be changed to only
check for a zero returncode of the compiler it would not fail if there
are only warning messages.
I expected that the compiler would suppress all warnings with the
'Wno_all' option, but this seems not to work for _warn "..."
This is a compiler bug or a documentation error.
Of course I'll document the restrictions and requirements of the
libraries in the description section in header of the library. I can
also remove the warnings from the code and leave it a matter of RTFM if
someone complains that the library does not work in a specific case.
Regards, Rob.
On 30.09.14 22:48, Matthew Schinkel wrote:
Buildbot would fail on a warning. Can you add a note at the top of the
sample/lib? Users should read the documentation.
Maybe you can suggest to kyle to add a "message" or "console_write" type
of warning that shows on compile. I have needed this in the past.
example:
const SHOW_MESSAGES = TRUE -- set this to false after you have read the
compile help messages.
If (SHOW_MESSAGES == TRUE) then
console_write("Please ensure you are using a inverter.")
end if
Matt.
On Tuesday, September 30, 2014 2:32:17 PM UTC-4, RobH wrote:
Hi Matt,
On 29.09.14 03:58, Matthew Schinkel wrote:
>
> I'm just trying to get to know buildbot a bit better.
Then I have something for you:
I have the intention to commit lib(s) and samples to control a chain of
WS2812B chips. Because some combinations require an external signal
inverter circuit I want to issue a warning, but this is against the
Jallib policy: "no errors, no warnings". Nevertheless I think an
exception is appropriate in this case.
The question is: does buildbot consider this as 'build failure'?
Regards, Rob.
--
R. Hamerling, Netherlands --- http://www.robh.nl
--
You received this message because you are subscribed to the Google
Groups "jallib" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.
--
R. Hamerling, Netherlands --- http://www.robh.nl
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.