[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant
From: |
Ben Abbott |
Subject: |
Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant |
Date: |
Fri, 22 Oct 2010 17:28:08 +0800 |
Regarding the changeset below ...
http://hg.savannah.gnu.org/hgweb/octave/rev/a51ac4198e1c
I'm getting an error for line 3727
oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant
oct-parse.cc: In function 'int octave_parse()':
oct-parse.cc:2362: warning: use of old-style cast
oct-parse.cc:2379: warning: use of old-style cast
oct-parse.cc:2419: warning: use of old-style cast
make[3]: *** [liboctinterp_la-oct-parse.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
3721 {
3722 nm = octave_env::base_pathname (file);
3723 nm = nm.substr (0, nm.find_last_of ('.'));
3724
3725 size_t pos = nm.find_last_of (file_ops::dir_sep_str ());
3726 if (pos != std::string::npos)
3727 nm = nm.substr (pos+1pp);
3728 }
I don't understand what is being done here, but should that be ...
3727 nm = nm.substr (pos+1);
Ben
- missing file liboctave/lo-array-gripes.h, Ben Abbott, 2010/10/21
- missing file liboctave/lo-array-gripes.h, John W. Eaton, 2010/10/22
- Re: missing file liboctave/lo-array-gripes.h, Ben Abbott, 2010/10/22
- Re: missing file liboctave/lo-array-gripes.h, John W. Eaton, 2010/10/22
- Re: missing file liboctave/lo-array-gripes.h, Ben Abbott, 2010/10/22
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant,
Ben Abbott <=
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant, John W. Eaton, 2010/10/22
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant, Ben Abbott, 2010/10/22
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant, Ben Abbott, 2010/10/22
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant, John W. Eaton, 2010/10/22
- Re: oct-parse.yy:3727:29: error: invalid suffix "pp" on integer constant, Ben Abbott, 2010/10/22