APAR status
Closed as user error.
Error description
When migrating a makefile from the Free Software Foundation GNU make tool to IBM Rational ClearCase clearmake, macro definitions containing '#' characters are interpreted incorrectly. clearmake interprets the # characters as the beginning of a makefile comment, thus potentially causing make errors, or other incorrect output. For example, using this makefile: define msg 'Test #string' endef .PHONY: foo foo: echo '$(msg)' will cause the following incorrect output: clearmake -C gnu -f sample1.mk echo ''Test ' ''Test ' With gnu make, the output will be: make -f Sample1.mk echo ''Test #string'' 'Test #string'
Local fix
Problem summary
Problem conclusion
Temporary fix
Comments
CCASE_IGNORE_ESCAPED_HASH_IN_MULTILINE_MACRO needs to be set for the desired behaviour.
APAR Information
APAR number
PM78307
Reported component name
CLEARCASE UNIX
Reported component ID
5724G2901
Reported release
712
Status
CLOSED USE
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2012-12-03
Closed date
2013-03-25
Last modified date
2013-03-25
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
Rate this page:
Average rating
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.