kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26057
Re: Undo buffer refactor
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?
--
Jean-Pierre CHARRAS
Follow ups
References