|
[Sponsors] |
[Other] Installation issues with flex 2.6.0 and inelegant solution |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 29, 2015, 13:58 |
Installation issues with flex 2.6.0 and inelegant solution
|
#1 |
New Member
Thomas Evans
Join Date: Dec 2015
Posts: 21
Rep Power: 10 |
Issues are caused by the fact that the pre-processor only checks the subminor version of the flex release.
Do this: % cd $WM_PROJECT_DIR % find . -name '*.L' -print Open all of the above in your fav editor (I use jEdit). Change all instances of #if YY_FLEX_SUBMINOR_VERSION < 34 to #if YY_FLEX_SUBMINOR_VERSION < 34 && YY_FLEX_SUBMINOR_VERSION > 0 Your code will (hopefully) now compile. ************************************************** ******* NOTE: THIS IS A HORRIBLE HORRIBLE HACK. Use only if you prefer to keep flex 2.6.0+. A proper check needs to know major, minor and subminor numbers (or whatever they are called). Hopefully the future versions will patch this issue. |
|
|
|