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

 
 

bug #39638: Undefined function reported by VC2008

Submitted by:  Hans Zwakenberg <hzwakenberg>
Submitted on:  Wed 31 Jul 2013 08:06:24 PM UTC  
 
Category: SmartEiffelSeverity: 2 - Minor
Priority: 5 - NormalStatus: Need Info
Assigned to: NoneOpen/Closed: Open
Release: NoneFixed Release: None
Planned Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.

Hans Zwakenberg <hzwakenberg>
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

Hans Zwakenberg <hzwakenberg>
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>
Project 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>
Project 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>
Project 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.

Hans Zwakenberg <hzwakenberg>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Tybor (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 31 Jul 2013 08:08:22 PM UTCcadrianCategoryNone=>SmartEiffel
      StatusNone=>Need Info
    Wed 31 Jul 2013 08:06:24 PM UTCcadrianReassign itemLiberty Eiffel, sr #108348=>Liberty Eiffel, bug #39638

    Back to the top


    Powered by Savane 3.1-cleanup