Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

CodeBlocks compiling fail

<< < (2/8) > >>

je_rem_y:
I installed wxWidgets from distro.

je_rem_y:
The problem come from this instruction : ifndef __WXMAC__


--- Code: ---macrosmanager.cpp:90:33: error: 'wxRE_ADVANCED' was not declared in this scope
--- End code ---

__WXMAC__ is for mac no ? If I replace wxRE_ADVANCED by wxRE_EXTENDED to test, it compile ;)


--- Code: ---#ifndef __WXMAC__
                                wxRE_ADVANCED);
#else
                                wxRE_EXTENDED);
#endif
    m_RE_To83Path.Compile(_T("\\$TO_83_PATH{([^}]*)}"),
#ifndef __WXMAC__
                                wxRE_ADVANCED);
#else
                                wxRE_EXTENDED);
#endif
    m_RE_RemoveQuotes.Compile(_T("\\$REMOVE_QUOTES{([^}]*)}"),
#ifndef __WXMAC__
                                wxRE_ADVANCED);
#else
                                wxRE_EXTENDED);
#endif
--- End code ---

stahta01:
Not a valid fix according to the 2007 thread.

Tim S.

thomas:
No need to "fix" the code. You're using an outdated, broken wxWidgets build which was configured --with-regex=system. This is a known Arch Linux thing, and has been fixed in the mean time. Just upgrade.

je_rem_y:

--- Quote from: stahta01 on January 03, 2012, 05:59:39 am ---Not a valid fix according to the 2007 thread.

Tim S.

--- End quote ---
I know it is not a valid fix, it was to test ;)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version