Menu

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

closed-accepted
nobody
5
2008-04-23
2008-04-21
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

  • Volkov Peter

    Volkov Peter - 2008-04-21

    l7-protocols-2008.02.20-gcc4.3.patch

     
  • Nobody/Anonymous

    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.

     

Log in to post a comment.