Andrés Roldán <[EMAIL PROTECTED]> writes:
> Is there any workaround?
Make sure no comment ends in 'S' or another macro name. Or use /* */
comments.
--
Falk
Is there any workaround?
I am unable to upload a new version of LILO because of this bug.
Any input will be appreciated.
Thanks.
--
Andres Roldan <[EMAIL PROTECTED]>
GPG Key-ID: 0xB29396EB
This is caused by cpp inserting a spurious newline after occurrance of
a macro with arguments withourt parentheses (which it is supposed to
leave alone):
[EMAIL PROTECTED]:/tmp% cat first.S
#define S(x) foobar
foo ! S
bar
[EMAIL PROTECTED]:/tmp% cpp-3.2 < first.S
# 1 ""
# 1 ""
# 1 ""
# 1 ""
foo !
#if 0
; first.S - LILO first stage boot loader with LBA32 support */
Copyright 1992-1998 Werner Almesberger.
Copyright 1999-2003 John Coffman.
All rights reserved.
Licensed under the terms contained in the file 'COPYING' in the
source directory.
#endif
#define LILO_ASM
#include "lilo.h"
get c
4 matches
Mail list logo