Compiling error for common/prependpath.cpp

Bug #1322924 reported by Michael Skutek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Won't Fix
Low
Unassigned

Bug Description

The compiling fails for common/prependpath.cpp at line 11:

static wxString wxJoin(const wxArrayString& arr, const wxChar sep,
                const wxChar escape = '\\')

for a wxWidgets lib 2.9.x, because it seems to be already defined.

If the version check in line 8 for example is changed to:

#if !wxCHECK_VERSION( 2, 9, x)

the compiling doesn't fail anymore for this file.

Revision: 4886

description: updated
Revision history for this message
Lorenzo Marcantonio (l-marcantonio) wrote : Re: [Bug 1322924] [NEW] Compiling error for common/prependpath.cpp

On Sat, May 24, 2014 at 09:59:16PM -0000, Michael Skutek wrote:
> #if !wxCHECK_VERSION( 2, 9, x)
>
> the compiling doesn't fail anymore for this file.

Confirm it happens. However I don't know if 2.9 is 'officially'
supported by kicad. I think yours is the right solution.

--
Lorenzo Marcantonio
Logos Srl

Changed in kicad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
John Beard (john-j-beard) wrote :

Now that wx 3 is a requirement, can this be closed?

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1322924] Re: Compiling error for common/prependpath.cpp

On 11/10/2014 5:48 AM, John Beard wrote:
> Now that wx 3 is a requirement, can this be closed?
>
It appears that it was already fixed but now that wx 3 is required it
can be closed.

Revision history for this message
Michael Skutek (michael-skutek) wrote :

I tested build 5247 with wxWidgets 3.0.2 and it compiles without any problems.

Revision history for this message
Nick Østergaard (nickoe) wrote :

I mark as won't fix because no action is required.

Changed in kicad:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.