[Rpm-maint] [rpm-software-management/rpm] Error if a macro in a comment is expanded to multiple lines (#124)

Panu Matilainen notifications at github.com
Fri Jan 13 11:22:14 UTC 2017


pmatilai commented on this pull request.

rpmlog(RPMLOG_ERR, ...) does not stop the build any more than the rpmlog(RPMLO_WARNING, ...) does a few lines below. As you should've noticed when testing it.

Another possible (not saying it's good or what I want, just enumerating) approach would be adding a macro config option to terminate build on macros-in-comments. Ie use what's already there but make it an error (which actually terminates) if configured that way.

What I really wonder though is what exactly are you doing that you're constantly running into this in a harmful way? Distros have thousands of packages and hundreds of developers too, and yes new people hit this every now and then, but I don't see riots because of it. As in, maybe there's a better way to accomplish what you're doing.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/124#pullrequestreview-16550683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170113/d3349e52/attachment-0001.html>


More information about the Rpm-maint mailing list