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: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

PR errors out on Travis CI

Post by ONEEYEMAN »

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
Super wx Problem Solver
Super wx Problem Solver
Posts: 357
Joined: Tue Jun 07, 2016 1:07 pm

Re: PR errors out on Travis CI

Post by Kvaz1r »

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: 7480
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: PR errors out on Travis CI

Post by ONEEYEMAN »

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

Thank you.
DavidHart
Site Admin
Site Admin
Posts: 4254
Joined: Thu Jan 12, 2006 6:23 pm
Location: IoW, UK

Re: PR errors out on Travis CI

Post by DavidHart »

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