Red Hat Bugzilla – Bug 110692
bad source code
Last modified: 2007-11-30 17:10:33 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
Description of problem:
I just tried to compile package anacron-2_3-29 from Fedora.
The compiler said
gregor.c(68): warning #300: const variable "isleap" requires an
const int isleap; /* save three calls to leap() */
gregor.c(79): error #137: expression must be a modifiable lvalue
isleap = leap(year);
compilation aborted for gregor.c (code 2)
make: *** [gregor.o] Error 2
Sounds like some work is required to get the declaration and
initialisation of isleap together.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. compile with ISO C compiler
*** This bug has been marked as a duplicate of 116249 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.