bugLiberty Eiffel - Bugs: bug #39638, Undefined function reported by...

 
 

bug #39638: Undefined function reported by VC2008

Submitter:  - <_92048>
Submitted:  Wed 31 Jul 2013 08:06:24 PM UTC
   
 
Category:  SmartEiffel Severity:  2 - Minor
Priority:  * 5 - Normal Status:  Fixed
Assigned to:  None Open/Closed:  Closed
Release:  bell Fixed Release:  bell
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 21 Aug 2014 11:44:04 AM UTC, comment #6: 

issue fixed by Rapha.  /HZ

- <_92048>
Fri 09 Aug 2013 12:00:29 PM UTC, comment #5: 

The reported issue is caused by time.h not being included, when using VC2008 (32-bit).
I do not know in which of the compiler source files this include should be added, or what preprocesser directives need to be altered to have time.h included.

- <_92048>
Wed 31 Jul 2013 09:59:18 PM UTC, comment #4: 

Hi Paolo,

a couple of years ago I downloaded and installed the free Visual C 2008 Express edition from Microsoft.  The 2008-edition is no longer downloadable, but the 2010-version is...

ciao
Hans

- <_92048>
Wed 31 Jul 2013 08:32:32 PM UTC, comment #3: 

I do have a virtual box running Vista, I wasn't able to avoid to pay for its license when I bought my current laptop in 2008.
Where can I (legally) download the compiler you are using?

Paolo Redaelli <Tybor>
Group administrator
Wed 31 Jul 2013 08:06:24 PM UTC, comment #2: 

This item has been reassigned from the project Liberty Eiffel support tracker to your tracker.

The original report is still available at support #108348

Following are the information included in the original report:

[field #0]                  Item ID: 108348
[field #1]                 Group ID: 11177
[field #2]              Open/Closed: Open
[field #3]                 Severity: 2 - Minor
[field #4]                  Privacy: Public
[field #8]                         : Unknown support Field Display Type
[field #9]                 Category: None
[field #10]             Submitted by: hzwakenberg
[field #11]              Assigned to: None
[field #12]             Submitted on: Wed 31 Jul 2013 07:03:09 PM CEST
[field #13]                  Summary: Undefined function reported by VC2008
[field #14]      Original Submission: line 1497 of compile_to_c.c (germ) contains a call to  time(&ref_time), which according to VC2008 is undefined.  The compiler continues with the assumption that this function is external and will return an int.
[field #16]               Item Group: None
[field #17]                   Status: Need Info
[field #18]        Component Version: None
[field #19]         Operating System: Microsoft Windows
[field #20]          Reproducibility: None
[field #21]               Size (loc): None
[field #22]            Fixed Release: None
[field #23]          Planned Release: None
[field #24]                   Effort: 0.00
[field #28]                 Priority: 5 - Normal
[field #31]         Percent Complete: 0%
[field #33]                  Release: None
[field #58]     Custom Select Box #1: None
[field #59]     Custom Select Box #2: None
[field #60]     Custom Select Box #3: None
[field #61]     Custom Select Box #4: None
[field #62]     Custom Select Box #5: None
[field #63]     Custom Select Box #6: None
[field #64]     Custom Select Box #7: None
[field #65]     Custom Select Box #8: None
[field #66]     Custom Select Box #9: None
[field #67]    Custom Select Box #10: None

Cyril Adrian <cadrian>
Group administrator
Wed 31 Jul 2013 08:04:56 PM UTC, comment #1: 

I don't have Windows, please provide a means to fix this request (e.g. a patch).

Thanks

Cyril Adrian <cadrian>
Group administrator
Wed 31 Jul 2013 08:06:24 PM UTC, original submission:  

line 1497 of compile_to_c.c (germ) contains a call to  time(&ref_time), which according to VC2008 is undefined.  The compiler continues with the assumption that this function is external and will return an int.

- <_92048>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ramack (Updated the item)
  • -email is unavailable- added by _92048 (Updated the item)
  • -email is unavailable- added by Tybor (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-08-22 ramack StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2014-08-21 _92048 StatusFixed Works For Me
    2014-08-21 _92048 StatusNeed Info Fixed
        ReleaseNone bell
        Fixed ReleaseNone bell
    2013-07-31 cadrian CategoryNone SmartEiffel
        StatusNone Need Info
    2013-07-31 cadrian Reassign itemLiberty Eiffel, sr #108348 Liberty Eiffel, bug #39638

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code