• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • libxmlpatch
  • Patches

Incompatibility with check-0.9.7 and check-0.9.8

Brought to you by: urpalain
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Patches
    • Feature Requests
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#1 Incompatibility with check-0.9.7 and check-0.9.8

open
nobody
None
5
2010-05-01
2010-05-01
Christophe LACOMBE
No

Since version 0.9.7 of the check package the interface of _tcase_add_test has changed and takes one more parameter.
I agree this is things that should not occur !

To fix it, you can add this fourth parameter in the call with the default value 0, but in this case you will not be able to use check-0.9.6, So I think the best is to use the MACRO interface that will work even if you use check-0.9.6 or earlier.

So you can just replace line 262 of file tests/check_diff.c by:
tcase_add_test(tc,arr_tests[i].fn);

Like that it will work with any version of check package.

You will find in attachment an updated version for tests/check_diff.c from the version in libxmlpatch-0.3.3.tar

Don't hesitate to contact me if you need any more information.
Best regards, Christophe.

Discussion

  • Christophe LACOMBE

    Christophe LACOMBE - 2010-05-01
     
    check_diff.c
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    225 Broadway Suite 1600
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.