← Back to team overview

kicad-developers team mailing list archive

Re: Undo buffer refactor

 

On 06.09.2016 11:45, jp charras wrote:
Le 05/09/2016 à 23:34, Sergey Borshch a écrit :
On 05.09.2016 17:06, Maciej Sumiński wrote:
As you may have noticed, there are a lot of changes to the KiCad
internals. It would be great if there were some brave folks to take the
branch for a test ride.

I'm unable to compile it:

sources/pcb_calculator/attenuators/attenuator_classes.cpp:100:21: error: cannot convert ‘wxString
(*)()’ to ‘wxString*’ in assignment
     m_FormulaName   = &pi_formula;
                     ^
sources/pcb_calculator/attenuators/attenuator_classes.cpp: In constructor
‘ATTENUATOR_TEE::ATTENUATOR_TEE()’:
sources/pcb_calculator/attenuators/attenuator_classes.cpp:121:21: error: cannot convert ‘wxString
(*)()’ to ‘wxString*’ in assignment
     m_FormulaName   = &tee_formula;
                     ^
sources/pcb_calculator/attenuators/attenuator_classes.cpp: In constructor
‘ATTENUATOR_BRIDGE::ATTENUATOR_BRIDGE()’:
sources/pcb_calculator/attenuators/attenuator_classes.cpp:144:21: error: cannot convert ‘wxString
(*)()’ to ‘wxString*’ in assignment
     m_FormulaName   = &bridget_tee_formula;
                     ^
sources/pcb_calculator/attenuators/attenuator_classes.cpp: In constructor
‘ATTENUATOR_SPLITTER::ATTENUATOR_SPLITTER()’:
sources/pcb_calculator/attenuators/attenuator_classes.cpp:170:21: error: cannot convert ‘wxString
(*)()’ to ‘wxString*’ in assignment
     m_FormulaName   = &splitter_formula;
                     ^
pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/build.make:625: recipe for target
'pcb_calculator/CMakeFiles/pcb_calculator_kiface.dir/attenuators/attenuator_classes.cpp.o' failed

Looks like it is a compiler issue.
What compiler are you using?


g++ (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
I'm under Linux Mint 18 and it seems like problem began after system upgrade from Mint 17.3. Reinstalling all wx components fixed the issue.


--
Regards,
    Sergey A. Borshch            mailto: sb-sf@xxxxxxxxxxxxxxxxxxxxx
      SB ELDI ltd. Riga, Latvia


References