View Issue Details

IDProjectCategoryView StatusLast Update
0002066OpenFOAMBugpublic2016-04-26 10:58
ReporterFabio_Bertolotti Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformUnixOSGNU/Linux Ubuntu 16.04OS Version16.04
Summary0002066: Error in flex file
DescriptionSmall bug,
The "work-around" for yywrap() currently implemented:

#if YY_FLEX_SUBMINOR_VERSION < 34

assumes that the YY_FLEX_MINOR_VERSION is 5 or lower. On Ubuntu 16.04, the Flex version is 2.6.0, hence the #if is erroneously executed. My fix:

#if YY_FLEX_MINOR_VERSION < 6 && YY_FLEX_SUBMINOR_VERSION < 34

(see, for example, src/triSurface/triSurface/interfaces/STL/readSTLASCII.L)

Cheers,

Fabio
TagsNo tags attached.

Activities

henry

2016-04-24 22:06

manager   ~0006169

Unfortunately you did not state which OpenFOAM version you are compiling. In OpenFOAM-dev and OpenFOAM-3.0.x the condition is

#if YY_FLEX_MINOR_VERSION < 6 && YY_FLEX_SUBMINOR_VERSION < 34

Issue History

Date Modified Username Field Change
2016-04-24 21:21 Fabio_Bertolotti New Issue
2016-04-24 22:06 henry Note Added: 0006169
2016-04-26 10:58 henry Status new => closed
2016-04-26 10:58 henry Assigned To => henry
2016-04-26 10:58 henry Resolution open => no change required
2016-04-26 10:58 henry Fixed in Version => 3.0.x