• 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
  • ANT Contrib
  • Patches

suppress ar warning to error output

Status: Beta
Brought to you by: carnold, mattinger
  • Summary
  • Files
  • Reviews
  • Support
  • Mailing Lists
  • Tickets ▾
    • Bugs
    • Support Requests
    • Patches
    • Feature Requests
  • Discussion
  • Code
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

  • Unstable (example)

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#56 suppress ar warning to error output

open
nobody
cpptasks (35)
5
2007-10-17
2007-10-17
Mathieu Champlon
No

Hello !

By default when creating a library file, if the file does not exist, ar issues a warning to the error output.
This can be prevented by using the c option.
See http://unixhelp.ed.ac.uk/CGI/man-cgi?ar for more details.

This warning is really annoying for me because it yields to an error being logged by cruisecontrol...

Attached you can find a (very very simple) patch to correct this issue : it simply adds the c option to the ar command line.

Thanks.
MAT.

Discussion

  • Mathieu Champlon

    Mathieu Champlon - 2007-10-17
     
    cpptasks_suppress_ar_warning.patch
    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.