PR errors out on Travis CI

Do you have a typical platform dependent issue you're battling with ? Ask it here. Make sure you mention your platform, compiler, and wxWidgets version.
Post Reply
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3464
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

PR errors out on Travis CI

Post by ONEEYEMAN » Wed Jun 19, 2019 3:55 am

Hi,
Could someone please help.

I submitted PR 1356 couple of days ago.
However for some unknown reason Travis CI failed to compile it.

It is compiled fine on my machine with either default gcc 5.4 in C++11 mode or using:

Code: Select all

CXXFLAGS=-std=c++98 ../configure --enable-debug --with-gtk=3
but Travis uses the older compiler (4.6.3) and so fails.

Could someone please help me understand why and how can I reproduce the failure on my system?

Thank you.

Kvaz1r
Earned some good credits
Earned some good credits
Posts: 128
Joined: Tue Jun 07, 2016 1:07 pm

Re: PR errors out on Travis CI

Post by Kvaz1r » Wed Jun 19, 2019 7:26 am

I don't know why it didn't break for other builds but log says clearly:
./src/gtk/textctrl.cpp:156:57: error: cannot pass objects of non-trivially-copyable type ‘const class wxColour’ through ‘...’
I don't know anything about Gtk so can't tell you how one should transfer color into this function.

ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 3464
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: PR errors out on Travis CI

Post by ONEEYEMAN » Wed Jun 19, 2019 12:56 pm

Hi,
I understand, but if I cant even replicate the error....

Thank you.

DavidHart
Site Admin
Site Admin
Posts: 3887
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: PR errors out on Travis CI

Post by DavidHart » Wed Jun 19, 2019 4:49 pm

Hi,
I understand, but if I cant even replicate the error....
but Travis uses the older compiler (4.6.3) and so fails.
Why not install gcc 4.6, either your distro version if it has multiple ones, or a self-build? Then point to that gcc binary when you build.

Regards,

David

Post Reply