This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug preprocessor/35458] Dependency generation (-M) does not quote '#' in filenames



------- Comment #2 from rwild at gcc dot gnu dot org  2008-03-04 13:53 -------
Please note that quoting # in makefiles is not portable, but only supported
by some make implementations.  For example, with
   foo: a\#b
   bar: c#d

AIX make will assume 'foo' depends on 'a\', and 'bar' on 'c'.
Likewise HP-UX make.  Consequently, both of these make's will error out on
either line of:
  a#b:
  a\#b:


-- 

rwild at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ralf dot Wildenhues at gmx
                   |                            |dot de


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35458


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]