Bug 118174

Summary: Problem with const in icaltime.c
Product: [Fedora] Fedora Reporter: d.binderman
Component: evolution-data-serverAssignee: Dave Malcolm <dmalcolm>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-22 05:15:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d.binderman 2004-03-12 19:46:45 UTC
Description of problem:

I just tried to compile Fedora Core2 Test1 package
evolution-data-server-0.0.6-1

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:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 John Thacker 2006-04-22 05:15:44 UTC
This kind of bug is best filed upstream.