Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#59 [patch] l7-protocols, build fails with gcc-4.3

closed-accepted
nobody
5
2008-04-23
2008-04-21
Volkov Peter
No

During build of l7-protocols with gcc-4.3 it fails with the following error:

i686-pc-linux-gnu-g++ -O2 -march=i686 -pipe -mtune=i686 -o test_speed-userspace test_speed-userspace.cpp l7-parse-patterns.cpp
test_speed-userspace.cpp: In function ‘int hex2dec(char)’:
test_speed-userspace.cpp:35: error: no declaration ‘exit’ in this scope

Attached patch fixes this issue.

Discussion

  • Logged In: NO

    Thanks. I've applied your fix and it will appear in the next release.

     
  • Matthew Strait
    Matthew Strait
    2008-04-23

    • status: open --> closed-accepted
     
  • Matthew Strait
    Matthew Strait
    2008-04-23

    Logged In: YES
    user_id=220960
    Originator: NO

    (now logged in)

    Thanks. I've applied your fix and it will appear in the next release.