bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Case-insensitive targets


From: David Boyce
Subject: Re: Case-insensitive targets
Date: Thu, 2 Aug 2018 17:52:27 -0700

Going way back upstream to the original test makefile:

-----
default: program_name

PROGRAM_NAME Program_Name program_name:
        @echo 'Do something for address@hidden'

-----

The thing is that these targets are not actually declared as phony so of course they're treated as files. I'm surprised no one else mentioned it, and the topic wandered off. What is the behavior when you add ".PHONY: default PROGRAM_NAME Program_Name program_name"?

On Thu, Aug 2, 2018 at 12:14 PM, Paul Smith <address@hidden> wrote:
On Thu, 2018-08-02 at 20:56 +0200, Gisle Vanem wrote:
> But I made a little <dmalloc.h> implementation using MSVC's
> <CrtDbg.h> and dumped the leaks right before 'exit()' in
> main.c's 'die()'. The simple case-insensitive-win.mak in my
> 1st email shows 4410 leaks!

Hm.  I do run the regression test suite under Valgrind on GNU/Linux
before each release and take a look at the results.  There are always
some few issues around argument parsing, IIRC, but nothing major.  I
haven't done this on Git master HEAD for a while I admit (I don't know
what version of GNU make you're using).

There may be leaks that the regression suite doesn't catch.  Also, that
process wouldn't catch leaks that appear in non-GNU/Linux-specific
code.

_______________________________________________
Bug-make mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-make


reply via email to

[Prev in Thread] Current Thread [Next in Thread]