Some small fixes to compile with DEC cxx

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@439 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-01-24 15:07:10 +00:00
parent f111129035
commit e0e62e94c4
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2000-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/kbmap.C (getsym): set return type to unsigned long, as
declared in header. On an alpha, long is _not_ the same as int.
* src/support/LOstream.h: add a "using std::flush;"
2000-01-21 Lars Gullik Bjønnes <larsbj@lyx.org> 2000-01-21 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/bufferlist.C (write): use blinding fast file copy instead of * src/bufferlist.C (write): use blinding fast file copy instead of

View File

@ -274,7 +274,7 @@ void kb_sequence::delseq()
Returns : keysym Returns : keysym
\* ---F------------------------------------------------------------------- */ \* ---F------------------------------------------------------------------- */
KeySym kb_sequence::getsym() unsigned long kb_sequence::getsym()
{ {
int l = length; int l = length;
if(l == 0) return NoSymbol; if(l == 0) return NoSymbol;

View File

@ -21,5 +21,6 @@
using std::ostream; using std::ostream;
using std::endl; using std::endl;
using std::flush;
#endif #endif