bugGNU Octave - Bugs: bug #32325, Compile error in cmd-hist.cc

 
 

bug #32325: Compile error in cmd-hist.cc

Submitted by:  None
Submitted on:  Wed 02 Feb 2011 08:19:30 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Build Failure
Status: FixedAssigned to: None
Originator Name: Kai HabelOriginator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 03 Feb 2011 09:02:27 AM UTC, comment #3:

This works now.

Thanks, Kai.

Kai Habel <kahacjde>
Project Member
Thu 03 Feb 2011 06:11:00 AM UTC, comment #2:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/60b6b175f88a

Please close this report if this change fixes the problem for you.

John W. Eaton <jwe>
Project Administrator
Thu 03 Feb 2011 05:42:33 AM UTC, comment #1:

Confirmed on an Ubuntu machine as well.

Rik <rik5>
Project Administrator
Wed 02 Feb 2011 08:19:30 AM UTC, original submission:

I am trying to compile a recent tip on MinGW with the configure option '--disable -realine' and get the error below. I suspect that some functions in cmd-hist.cc should not be compiled when readline is not available.

Kai (not logged in)

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../lib
cruft/misc -g -O2 -DHAVE_CONFIG_H -mieee-fp -Wall -W -Wshadow -Wold-style-cast -
Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -g -O2 -
MT liboctave_la-cmd-hist.lo -MD -MP -MF .deps/liboctave_la-cmd-hist.Tpo -c cmd-h
ist.cc -DDLL_EXPORT -DPIC -o .libs/liboctave_la-cmd-hist.o
cmd-hist.cc: In member function 'virtual void command_history::do_process_histco
ntrol(const std::string&)':
cmd-hist.cc:705:32: error: 'HC_ERASEDUPS' was not declared in this scope
cmd-hist.cc:707:32: error: 'HC_IGNDUPS' was not declared in this scope
cmd-hist.cc:707:43: error: 'HC_IGNSPACE' was not declared in this scope
cmd-hist.cc:709:32: error: 'HC_IGNDUPS' was not declared in this scope
cmd-hist.cc:711:32: error: 'HC_IGNSPACE' was not declared in this scope
cmd-hist.cc: In member function 'virtual std::string command_history::do_histcon
trol() const':
cmd-hist.cc:731:25: error: 'HC_IGNSPACE' was not declared in this scope
cmd-hist.cc:734:25: error: 'HC_IGNDUPS' was not declared in this scope
cmd-hist.cc:742:25: error: 'HC_ERASEDUPS' was not declared in this scope
make[3]: *** [liboctave_la-cmd-hist.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/liboctave_la-cmd-edit.Tpo .deps/liboctave_la-cmd-edit.Plo
make[3]: Leaving directory `/home/habel/octave/liboctave'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/habel/octave/liboctave'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/habel/octave'
make: *** [all] Error 2

Anonymous

 

(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 kahacjde (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by rik5 (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 project members 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
    Thu 03 Feb 2011 09:02:27 AM UTCkahacjdeStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 03 Feb 2011 05:42:33 AM UTCrik5StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1