mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] HOST_NCURSES not building (ptxdist 2017.07.0, Debian, GNU c++ 7.2.0)
@ 2017-08-30 16:34 Ian Abbott
  2017-08-30 19:44 ` Ladislav Michl
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Abbott @ 2017-08-30 16:34 UTC (permalink / raw)
  To: ptxdist

Hi,

I get the following error when building a project on a current Debian 
"testing" system, possibly due to upgrading the host gcc from 7.1 to 
7.2, but I'm not 100% sure.  I guess ncurses 5.9 is pretty old now!

cd c++ && make DESTDIR="" all
make[2]: Entering directory 
'/mnt/lindata/work/abbotti/ptxdist/projects/dbpod-socfpga-tmp/platform-dbpod-fastpod/build-host/ncurses-5.9/c++'
compiling cursesf (objects)
In file included from ../c++/cursesw.h:36:0,
                  from ../c++/cursesp.h:39,
                  from ../c++/cursesf.h:39,
                  from ../c++/cursesf.cc:35:
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursesw.h:777:50: note: in expansion of macro 'THROWS'
    virtual void   err_handler(const char *) const THROWS(NCursesException);
                                                   ^~~~~~
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursesp.h:89:32: note: in expansion of macro 'THROWS'
    void OnError (int err) const THROWS(NCursesPanelException)
                                 ^~~~~~
In file included from ../c++/cursesf.h:39:0,
                  from ../c++/cursesf.cc:35:
../c++/cursesp.h: In member function 'T* NCursesUserPanel<T>::UserData() 
const':
../c++/cursesp.h:256:43: error: no matching function for call to 
'NCursesUserPanel<T>::get_user() const'
      return reinterpret_cast<T*>(get_user ());
                                            ^
../c++/cursesp.h:80:9: note: candidate: void* NCursesPanel::get_user() 
<near match>
    void *get_user()
          ^~~~~~~~
../c++/cursesp.h:80:9: note:   passing 'const NCursesUserPanel<T>*' as 
'this' argument discards qualifiers
In file included from ../c++/cursesw.h:36:0,
                  from ../c++/cursesp.h:39,
                  from ../c++/cursesf.h:39,
                  from ../c++/cursesf.cc:35:
../c++/cursesf.h: At global scope:
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursesf.h:64:38: note: in expansion of macro 'THROWS'
    inline void OnError(int err) const THROWS(NCursesFormException) {
                                       ^~~~~~
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursesf.h:112:39: note: in expansion of macro 'THROWS'
    inline void OnError (int err) const THROWS(NCursesFormException) {
                                        ^~~~~~
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursesf.h:394:39: note: in expansion of macro 'THROWS'
    inline void OnError (int err) const THROWS(NCursesFormException) {
                                        ^~~~~~
In file included from ../c++/cursesf.cc:35:0:
../c++/cursesf.h: In member function 'T* NCursesUserForm<T>::UserData() 
const':
../c++/cursesf.h:707:43: error: no matching function for call to 
'NCursesUserForm<T>::get_user() const'
      return reinterpret_cast<T*>(get_user ());
                                            ^
../c++/cursesf.h:384:16: note: candidate: void* NCursesForm::get_user() 
<near match>
    inline void *get_user() {
                 ^~~~~~~~
../c++/cursesf.h:384:16: note:   passing 'const NCursesUserForm<T>*' as 
'this' argument discards qualifiers
In file included from ../c++/cursesw.h:36:0,
                  from ../c++/cursesp.h:39,
                  from ../c++/cursesf.h:39,
                  from ../c++/cursesf.cc:35:
../c++/cursslk.h: At global scope:
../c++/etip.h:374:20: warning: dynamic exception specifications are 
deprecated in C++11 [-Wdeprecated]
  #define THROWS(s)  throw(s)
                     ^
../c++/cursslk.h:120:45: note: in expansion of macro 'THROWS'
    inline void Error (const char* msg) const THROWS(NCursesException) {
                                              ^~~~~~
Makefile:331: recipe for target '../objects/cursesf.o' failed
make[2]: *** [../objects/cursesf.o] Error 1


-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] HOST_NCURSES not building (ptxdist 2017.07.0, Debian, GNU c++ 7.2.0)
  2017-08-30 16:34 [ptxdist] HOST_NCURSES not building (ptxdist 2017.07.0, Debian, GNU c++ 7.2.0) Ian Abbott
@ 2017-08-30 19:44 ` Ladislav Michl
  2017-08-31  9:40   ` Ian Abbott
  0 siblings, 1 reply; 3+ messages in thread
From: Ladislav Michl @ 2017-08-30 19:44 UTC (permalink / raw)
  To: ptxdist

On Wed, Aug 30, 2017 at 05:34:24PM +0100, Ian Abbott wrote:
> I get the following error when building a project on a current Debian
> "testing" system, possibly due to upgrading the host gcc from 7.1 to 7.2,
> but I'm not 100% sure.  I guess ncurses 5.9 is pretty old now!

https://git.pengutronix.de/cgit/ptxdist/commit/?id=b6036e7ce2ce791087694ca19a771168ac7fc9f6

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] HOST_NCURSES not building (ptxdist 2017.07.0, Debian, GNU c++ 7.2.0)
  2017-08-30 19:44 ` Ladislav Michl
@ 2017-08-31  9:40   ` Ian Abbott
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Abbott @ 2017-08-31  9:40 UTC (permalink / raw)
  To: ptxdist

On 30/08/17 20:44, Ladislav Michl wrote:
> On Wed, Aug 30, 2017 at 05:34:24PM +0100, Ian Abbott wrote:
>> I get the following error when building a project on a current Debian
>> "testing" system, possibly due to upgrading the host gcc from 7.1 to 7.2,
>> but I'm not 100% sure.  I guess ncurses 5.9 is pretty old now!
> 
> https://git.pengutronix.de/cgit/ptxdist/commit/?id=b6036e7ce2ce791087694ca19a771168ac7fc9f6

Thanks.  I did try switching to the git version and restarting the 
build, but I forgot to clean host-ncurses first (Doh!), so got the same 
error.  After cleaning host-ncurses it built fine.

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-31  9:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-30 16:34 [ptxdist] HOST_NCURSES not building (ptxdist 2017.07.0, Debian, GNU c++ 7.2.0) Ian Abbott
2017-08-30 19:44 ` Ladislav Michl
2017-08-31  9:40   ` Ian Abbott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox