Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 418
    • Issues 418
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #100
Closed
Open
Issue created Apr 18, 2016 by Admin@OpenFOAM-adminMaintainer

Missing yyFlexLexer:yywrap()

I am compiling on a Gentoo/Funtoo system. I had to comment out the following lines in src/surfMesh/surfaceFormats/stl/STLsurfaceFormatASCII.L and src/triSurface/triSurface/interfaces/STL/readSTLASCII.L for dummy yywrap to get the code to compile:

// #if YY_FLEX_SUBMINOR_VERSION < 34 // extern "C" int yywrap() // #else int yyFlexLexer::yywrap()int // #endif

This same coding is used elsewhere but a dummy yyFlexLexer::yywrap() needs to be defined and not an extern call. The code seems to assume Flex-2.5. I am running Flex-2.6.1 and get the extern call.

Assignee
Assign to
Time tracking