Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#207 Use of

closed-fixed
None
5
2004-04-10
2004-01-09
Anonymous
No

The following files have "//_WIN32" in them which
causes it to give errors and not compile on Sun Solaris
8using the Forte Compilers. If you remove the
"//_WIN32" which I am guessing is a comment then the
files compile.

This is for the htdig 3.2.0b5

./db/db_pr.c
./db/dirent_local.c
./db/env_open.c
./db/env_region.c
./db/log.c
./db/log_archive.c
./db/log_get.c
./db/log_method.c
./db/log_put.c
./db/mp_bh.c
./db/mp_stat.c
./db/mut_tas.c
./db/os_dir.c
./db/os_fsync.c
./db/os_handle.c
./db/os_map.c
./db/os_rename.c
./db/os_root.c
./db/os_rw.c
./db/os_seek.c
./db/os_sleep.c
./db/os_spin.c
./db/os_unlink.c
./htlib/getcwd.c
./htlib/getopt_local.c
./htlib/regex.c
./db/db_int.h
./db/os.h
./htdig/htdig.h
./htfuzzy/htfuzzy.h
./htlib/HtRegex.h
./htlib/HtTime.h
./htlib/lib.h
./htlib/libdefs.h
./htnet/Connection.h
./htnet/HtCookie.h
./htnet/HtCookieInFileJar.h
./htnet/HtCookieMemJar.h
./htsearch/htsearch.h

Jason Grove
jgrove at wvu dot edu

Discussion

  • Logged In: NO

    Also these files have //WIN32 in them:

    ./db/db.h.win32
    ./db/db_err.c
    ./db/db_method.c
    ./db/env_method.c
    ./db/db_int.h.ORIG
    ./htfuzzy/EndingsDB.cc
    ./htfuzzy/Synonym.cc

     
  • Jason Grove
    Jason Grove
    2004-01-09

    Logged In: YES
    user_id=947470

    Also, lines 58,69,70 of db/os_handle.c have // Comments
    instead of C style comments

    In addition db/os_rw.c on lines 169,174

    htlib/mktime.c,
    getcwd.c
    getopt_local.c
    memcmp.c
    memcpy.c
    memmove.c
    mhash_md5.c
    myqsort.c
    raise.c
    regex.c
    regex_win32.c
    snprintf.c
    strerror.c
    vsnprintf.c

    The top header has C++ instead of C comments. causes to fail
    compile

     
  • Jason Grove
    Jason Grove
    2004-01-09

    Logged In: YES
    user_id=947470

    Following header files have // style comments which need
    changed to /**/

    htlib/
    Configuration.h
    DB2_db.h
    Database.h
    Dictionary.h
    HtCodec.h
    HtDateTime.h
    HtHeap.h
    HtMaxMin.h
    HtPack.h
    HtRandom.h
    HtRegex.h
    HtRegexList.h
    HtRegexReplace.h
    HtRegexReplaceList.h
    HtTime.h
    HtVector.h
    HtVectorGeneric.h
    HtVectorGenericCode.h
    HtVector_String.h
    HtVector_int.h
    HtWordCodec.h
    HtWordType.h
    IntObject.h
    List.h
    Object.h
    ParsedString.h
    Queue.h
    QuotedStringList.h
    Stack.h
    StringList.h
    StringMatch.h
    ber.h
    clib.h
    filecopy.h
    getopt_local.h
    good_strtok.h
    gregex.h
    htString.h
    lib.h
    libdefs.h
    mhash_md5.h
    myqsort.h
    regex_win32.h

     
  • Lachlan Andrew
    Lachlan Andrew
    2004-01-12

    Logged In: YES
    user_id=663373

    I think I've made the changes everywhere necessary.
    Could you download the latest CVS (allow 24 hours for it to
    update) and give it another go?

    Thanks,
    Lachlan

     
  • Lachlan Andrew
    Lachlan Andrew
    2004-01-12

    • assigned_to: nobody --> lha
    • summary: Use of "//_WIN32" in .c and .h files causes compile fail --> Use of
    • status: open --> open-fixed
     
  • Lachlan Andrew
    Lachlan Andrew
    2004-04-10

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