bugDDD - Bugs: bug #26726, DDD Build Fails Undeclared EOF...

 
 

bug #26726: DDD Build Fails Undeclared EOF when Building with GCC 4.4.0

Submitted by:  None
Submitted on:  Tue 02 Jun 2009 02:41:14 PM UTC  
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  3.3.12-rc2

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 Sep 2014 06:54:09 PM UTC, comment #3:

Just add the silly header - stdio is needed for nearly everything

john marland <austingeek>
Thu 18 Feb 2010 12:43:20 PM UTC, comment #2:

A simpler solution would be to add the line
#define EOF -1
This works for me. I am always hesitant about adding extra include
files.

Dancie Reeves <dancie>
Project Member
Fri 04 Dec 2009 06:27:14 AM UTC, comment #1:

I encountered the same issue with gcc 4.4.2 and ddd 3.3.12. The fix is a 1-liner -- hope it gets addressed in the next release.

Anonymous
Tue 02 Jun 2009 02:41:14 PM UTC, original submission:

I have confirmed the following bug that was reported to Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504868

After adding the line "#include <stdio.h>" to ddd/strclass.C, I was then able to build ddd successfully with gcc 4.4.0.

As reference, I am using the following package versions:
ddd: 3.3.12
lesstif: 0.95.2 ( http://sf.net/projects/lesstif/ )

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #19228:  strclass.C.diff added by None (319B - text/x-patch - patch matching debian changes against svn revision 7209)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by austingeek (Posted a comment)
  • -email is unavailable- added by dancie (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-09 None Attached File- => Added strclass.C.diff, #19228

    Back to the top


    Powered by Savane 3.3