[brlcad-tracker] [ brlcad-Patches-1998134 ] Eliminate Warnings from g++ for opennurbs_light.h
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2008-06-22 11:31:54
|
Patches item #1998134, was opened at 2008-06-19 13:08 Message generated for change (Comment added) made by tbrowder2 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640804&aid=1998134&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation Group: None Status: Closed Resolution: Accepted Priority: 1 Private: No Submitted By: Tom Browder (tbrowder2) Assigned to: Sean Morrison (brlcad) Summary: Eliminate Warnings from g++ for opennurbs_light.h Initial Comment: When using opennurbs_light.h, g++-4.3.1 gives a warning that qualifiers on function return types are ignored for four functions. The attached patch was run on the opennurbs_light.h with BRL-CAD version 7.12.2: diff -u opennurbs_light.h.orig opennurbs_light.h ---------------------------------------------------------------------- >Comment By: Tom Browder (tbrowder2) Date: 2008-06-20 15:14 Message: Logged In: YES user_id=861162 Originator: YES Sorry, I'll go do the same thing with opennurbs. -Tom ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2008-06-20 09:56 Message: Logged In: YES user_id=785737 Originator: NO Applied to SVN as r31504, thanks! For what it's worth, we usually leave src/other warnings alone since they are externally maintained. Changes applied are often lost the next time we merge with upstream or are often changes that the upstream maintainers have already made themselves. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640804&aid=1998134&group_id=105292 |