This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 118174 - Problem with const in icaltime.c
Problem with const in icaltime.c
Product: Fedora
Classification: Fedora
Component: evolution-data-server (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Malcolm
Depends On:
  Show dependency treegraph
Reported: 2004-03-12 14:46 EST by d.binderman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-04-22 01:15:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description d.binderman 2004-03-12 14:46:45 EST
Description of problem:

I just tried to compile Fedora Core2 Test1 package

The compiler said

icaltime.c(373): error #137: expression must be a modifiable lvalue
      tt.is_date = 0;

The source code is

time_t icaltime_as_timet_with_zone(const struct icaltimetype tt,
        const icaltimezone *zone)

Possible problem here - tt is marked const in the parameter list,
and then later it is modified.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 John Thacker 2006-04-22 01:15:44 EDT
This kind of bug is best filed upstream.

Note You need to log in before you can comment on or make changes to this bug.