#3 patch for compilation error ht0.7.2/.3

closed-fixed
None
5
2003-09-19
2003-08-15
No

Hi,

when compiling hte 0.7.2 (and .3) with gcc version 3,
it gives an error message in htapp.cc:2031.
It is &(ht_project *)project which causes the compiler
to stumble. I dunno how C++ does it, but if this was C,
(ht_project **)&project would work. Anyway, here is a
patch to fix that (in C++)

Discussion

  • Reimar Döffinger

    Logged In: YES
    user_id=862448

    I had the same problem, but simply replacing "&(ht_project
    *)project" with "(ht_project **)&project" worked. No need to
    do it as complicated as in your patch ;-).

     
  • Anonymous - 2003-09-09

    Logged In: YES
    user_id=522048

    As I said, I don't know how C++ reorders data to fulfill childs, if at all.
    (C++ is a complex "language", at least the compilation process is, and whatever
    might happen.)

     
  • Stefan Weyergraf

    • assigned_to: nobody --> steveman
    • status: open --> closed-fixed
     
  • Stefan Weyergraf

    • status: closed-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks