Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Cis Administrator
Thu, 10 Sep 1992 21:01
Possible bug in GNU make
Author: Cis Administrator
Date: Thu, 10 Sep 1992 21:01
Date: Thu, 10 Sep 1992 21:01
27 lines
1262 bytes
1262 bytes
GNU make 3.58 seems not to ignore trailing white space when a variable definition is followed by a comment. For example, with the makefile ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ var = this is a test # a variable definition, followed by a comment show: @echo "'$(var)'" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ the command "make show" produces the output 'this is a test ' I was expecting 'this is a test' That's what the SUN version of make produces, and it's what page 53 of the GNU make manual (Edition 0.26 Beta, 1/20/1990) seems to suggest: "A variable name may be any sequence [of] characters not containing `:', `#', `=', or leading or trailing whitespace." (The word "of" is missing in the manual.) Is this a bug, or a feature?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads