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

Close

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

closed-fixed
None
5
2003-09-19
2003-08-15
Jan Engelhardt
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

  • 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 ;-).

     
  • Jan Engelhardt
    Jan Engelhardt
    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.)

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