Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: LETARTARE on January 27, 2022, 03:04:01 pm

Title: r12682
Post by: LETARTARE on January 27, 2022, 03:04:01 pm
-Win7 Business Pack1 64bits : wx-3.1.5, gcc-8.1.0,

I compile at the moment 'r12682':
in 'wxsitemres.cpp:379, 425'
Code
Header = wxsCoder::RebuildCode(Indentation, Header.c_str(), Header.length(), EOL);
The compiler complains that an object is missing from the call  :  'RebuildCode(...)' is private and not 'static'

in 'wxsCoder.h' :
Code
public:
        /** \brief Rebuilding code to support current editor settings */
        static wxString RebuildCode(wxString& BaseIndentation,const wxChar* Code,int CodeLen,wxString& EOL);
private:
allows to compile correctly.

Corrected in r12683 !!

*** an other
in 'wxPdfDocument::PutPatterns():2335' in   'switch (pattern->GetPatternStyle()) it's missing
Code
case wxPDF_PATTERNSTYLE_NONE :
          break;
 case wxPDF_PATTERNSTYLE_TEMPLATE:
          break;
case wxPDF_PATTERNSTYLE_IMAGE:
          break;



Title: Re: r12682
Post by: gd_on on January 27, 2022, 03:16:22 pm
May be r12683 has already corrected the problem ...
Title: Re: r12682
Post by: LETARTARE on January 27, 2022, 03:22:18 pm
YES !
But there is something else ...
Title: Re: r12682
Post by: Miguel Gimenez on January 27, 2022, 03:39:32 pm
wxPdfDocument is external, any issue should be reported to Ulrich Telle:

https://github.com/utelle/wxpdfdoc

If you are concerned by warnings, a simple "default" will fix them.
Title: Re: r12682
Post by: LETARTARE on January 27, 2022, 03:53:27 pm
Thanks
Title: Re: r12682
Post by: AndrewCot on January 27, 2022, 11:23:00 pm
In SVN the source_exporter plugin does not look like an external definition like the FortanProject as the source_exporter  directory shows up in the SF SVN code directory structure.
The code was updated by mortenmacfly  on 2022-01-02 to "update wxPDFDocument library of source code exporter plugin to v1.0.2", which is the latest release on Github from 24-Dec-2021, so it is the latest published source release thanks to mortenmacfly.