unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #30167] func-name (#define FUNC_NAME) check not applied fully
@ 2010-06-17 12:42 Thien-Thi Nguyen
  2010-06-17 13:16 ` [bug #30167] libguile/Makefile.am ugly Thien-Thi Nguyen
  0 siblings, 1 reply; 3+ messages in thread
From: Thien-Thi Nguyen @ 2010-06-17 12:42 UTC (permalink / raw)
  To: Thien-Thi Nguyen, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?30167>

                 Summary: func-name (#define FUNC_NAME) check not applied
fully
                 Project: Guile
            Submitted by: ttn
            Submitted on: gio 17 giu 2010 14:42:17 CEST
                Category: None
                Severity: 2 - Minor
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: ttn
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In libguile/Makefile.am, the awk script guile-func-name-check is not being
applied to pairs.c and memoize.c because those files are not derivable from
the *DOT_DOC_FILES variables.  This incomplete coverage ensures ignorance of
(possible, future) func-name bugs there, which is undesirable.

Running the check manually on those files produces spurious warnings (false
positives), which is probably one reason why they were omitted in the first
place.

There are some related infelicities surrounding this situation:

1/ The awk script is run in the .c.doc pattern rule.  Is that really
necessary?  It's a static check -- why not move it some dedicated target, like
"make function-name-check", that can be called less frequently (by
maintainers)?  See 3/ below.

2/ The long lists of mostly-redundant filenames is bug-prone.  Better to
restructure the groupings additively and make use of Automake support for
$(VAR:OLD=NEW) syntax.

3/ It's awk.  That is an affront to my scheming sensibilities.
The doc extraction/processing flow tail already uses Scheme, why not the
nose, as well?!





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30167>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug #30167] libguile/Makefile.am ugly
  2010-06-17 12:42 [bug #30167] func-name (#define FUNC_NAME) check not applied fully Thien-Thi Nguyen
@ 2010-06-17 13:16 ` Thien-Thi Nguyen
  2011-04-26 13:21   ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Thien-Thi Nguyen @ 2010-06-17 13:16 UTC (permalink / raw)
  To: Thien-Thi Nguyen, bug-guile


Update of bug #30167 (project guile):

                 Summary: func-name (#define FUNC_NAME) check not applied
fully => libguile/Makefile.am ugly

    _______________________________________________________

Follow-up Comment #1:

Actually, both those files are indeed checked, so this is really a non-bug! 
(Nice mini-rant there, however...)

Changing the title.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30167>

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug #30167] libguile/Makefile.am ugly
  2010-06-17 13:16 ` [bug #30167] libguile/Makefile.am ugly Thien-Thi Nguyen
@ 2011-04-26 13:21   ` Ludovic Courtès
  0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2011-04-26 13:21 UTC (permalink / raw)
  To: Thien-Thi Nguyen, Ludovic Courtès, bug-guile

Update of bug #30167 (project guile):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30167>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-26 13:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 12:42 [bug #30167] func-name (#define FUNC_NAME) check not applied fully Thien-Thi Nguyen
2010-06-17 13:16 ` [bug #30167] libguile/Makefile.am ugly Thien-Thi Nguyen
2011-04-26 13:21   ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).