[Patches] [ python-Patches-1577756 ] newline in -DSVNVERSION=\"`LANG=C svnversion .`\"

SourceForge.net noreply at sourceforge.net
Sun Oct 15 21:33:35 CEST 2006


Patches item #1577756, was opened at 2006-10-15 21:33
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1577756&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Daniel Stränger (schmaller)
Assigned to: Nobody/Anonymous (nobody)
Summary: newline in -DSVNVERSION=\"`LANG=C svnversion .`\"

Initial Comment:
gcc (version 3.4.4) fails to compile
Modules/getbuildinfo.c,
since it works as documented and cuts the definition of
SVNVERSION at the first newline and so there is an
unbalanced double quote.

citation of the gcc manpage:
-D name=definition
  Predefine name as a macro, with definition definition.
  The contents of definition are tokenized and processed
  as if they appeared during translation phase three in
  a #define directive.  In particular, the definition
  will be truncated by embedded newline characters.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1577756&group_id=5470


More information about the Patches mailing list