By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.

Bug 1025

Summary: Build issue: Fix covariant return check
Product: TDE Reporter: Nix <nix-bugs>
Component: tdebaseAssignee: Timothy Pearson <kb9vqf>
Status: RESOLVED FIXED    
Severity: major CC: bugwatch, darrella
Priority: P5    
Version: R14.0.0 [Trinity]   
Hardware: All   
OS: Linux   
Compiler Version: TDE Version String:
Application Version: Application Name:
Attachments: Use check_cxx_source_runs, not check_c_source_runs
Include the TQT_CFLAGS in TQT_CXX_FLAGS as well

Description Nix 2012-06-11 05:08:26 CDT
Created attachment 652 [details]
Use check_cxx_source_runs, not check_c_source_runs

The covariant return check fails for two reasons:

 1) it's using check_c_source_runs: C has no covariant return types :)
 2) even if the right language was being used, most of the -I flags are missing because main/common/cmake/modules/FindTQt.cmake is buggy.

Patches attached.
Comment 1 Nix 2012-06-11 05:09:12 CDT
Created attachment 653 [details]
Include the TQT_CFLAGS in TQT_CXX_FLAGS as well
Comment 2 Darrell 2012-06-13 20:46:15 CDT
I'm tagging the Summary as a "Build issue" for easier tracking and
identification, and bumping the status to Major.
Comment 3 Timothy Pearson 2012-06-15 01:43:24 CDT
Comment on attachment 652 [details]
Use check_cxx_source_runs, not check_c_source_runs

Pushed to GIT in hash 33aada3.
Comment 4 Nix 2012-06-15 07:46:00 CDT
(Note that both of these patches are necessary for covariant checking to work. You probably noticed that, but your wording suggests that you applied-and-pushed only one of them...)
Comment 5 Timothy Pearson 2012-06-15 08:32:35 CDT
Yes I am aware that both patches are needed; I waited to push the second one to see if I needed to push an unrelated patch to the common/cmake module at the same time.

Second patch committed to GIT in hash 477d071.

Thanks for reporting, and for the patches!