Menu

#86 GCvs 1.0 will not compile on Fedora Core 2

gCvs
closed-fixed
gCvs (12)
5
2004-08-03
2004-06-25
No

I had a problem compiling GCvs 1.0 on Fedora core 2. I
made a few changes to the code as attached. It was
successful. It seems that I needed to cast the
parameters on the call to UCvsFiles::ResetView. There
are two overloaded functions one with a boolean as the
fiirst argument the other with cont char * argument. I
think the gcc complier is confusing the two assuming
them to perhaps be integer.
This looks like a compiler issue, but other gcvs users
may like to use this as a workaround.
If the patch format is inadequate, I have only
submitted one other patch before, please contact me and
I will try again

Regards John Le Guen

diff -r gcvs-1.0/common/UCvsFiles.cpp
jlggcvs/common/UCvsFiles.cpp
1217c1217
< ResetView(uppath, true);
---
> ResetView((const char*)uppath, true);
1898c1898
< ResetView(fullpath, true);
---
> ResetView((const char*)fullpath, true);
diff -r gcvs-1.0/common/UCvsFolders.cpp
jlggcvs/common/UCvsFolders.cpp
831c831
< fileView->ResetView(path);
---
> fileView->ResetView((const char *)path);

Discussion

  • John Le Guen

    John Le Guen - 2004-06-25

    Output from diff recording changes to compile with Fedora Core 2

     
  • Karl-Heinz

    Karl-Heinz - 2004-08-03
    • milestone: --> gCvs
    • assigned_to: nobody --> bruenen
     
  • Karl-Heinz

    Karl-Heinz - 2004-08-03

    Logged In: YES
    user_id=299442

    this issue was already changed in the codebase. Thanks for
    your help.

     
  • Karl-Heinz

    Karl-Heinz - 2004-08-03
    • status: open --> closed-fixed
     

Log in to post a comment.