Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*Conflicting\s+Types\s+Between\s+\.h\s+and\s+\.c\s+files\s*$/: 18 ]

Total 18 documents matching your query.

1. Conflicting Types Between .h and .c files (score: 1)
Author: Danny Cox <DCox@xxxxxxxxxxxxxx>
Date: Fri, 16 Aug 2002 09:29:09 -0400
I just updated from CVS this AM, and am having type conflicts between the xfs .h and .c files on the type of kmem_zone. The .h file sez its: extern struct kmem_zone *<grump>; while the .c file sez i
/archives/xfs/2002-08/msg00278.html (8,135 bytes)

2. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 19:47:35 +0100
I don't think that's valid. And at least gcc 3.2 doesn't complain.. In this case not, as the kmem_zone_t is an object opaque to it's user. Compare it to kmem_cache_t in þhe core Linux code
/archives/xfs/2002-08/msg00279.html (9,090 bytes)

3. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Danny Cox <DCox@xxxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 14:52:08 -0400
Yes, but 2.96 does. I'd think that several folks use 2.96, since that's the standard gcc from RH 7.2. Okay, point taken. Nevertheless, the types between the .c and .h files should be consistent, wha
/archives/xfs/2002-08/msg00280.html (8,974 bytes)

4. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 19:56:41 +0100
Gcc '2.96' is a development snapshot. Even if redhat ships it it's by now ways official. No. Using structs in headers and typedefs in the actual source is very common, because you can use pointers to
/archives/xfs/2002-08/msg00282.html (9,303 bytes)

5. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Danny Cox <DCox@xxxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 15:11:32 -0400
Okay, one more try, and I'll admit defeat, and shut up: "Official" or not, many folks who use XFS will compile it with gcc 2.96, because that's the version they get by default. They must make the ch
/archives/xfs/2002-08/msg00284.html (10,352 bytes)

6. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Eric Sandeen <sandeen@xxxxxxx>
Date: 19 Aug 2002 14:40:08 -0500
Danny - FWIW, xfs compiles for me with no warnings, using gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) on today's CVS tree. -Eric -- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/x
/archives/xfs/2002-08/msg00285.html (9,794 bytes)

7. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 20:43:46 +0100
But it does work with redhat's latest release compilers (7.1/7.2 errata, 7.3). So please upgrade to those, older compilers are known to produce buggy code in combination with XFS anyway.
/archives/xfs/2002-08/msg00286.html (9,986 bytes)

8. Re: Conflicting Types Between .h and .c files (score: 1)
Author: Danny Cox <DCox@xxxxxxxxxxxxxx>
Date: Mon, 19 Aug 2002 15:58:13 -0400
From my system, "rpm -qa | grep gcc" produces: gcc-2.96-108.7.2 granted, Eric says his is gcc-2.96-110.*, but I'm as uptodate as I know how to be. Am I missing something obvious? -- kernel, n.: A pa
/archives/xfs/2002-08/msg00287.html (9,160 bytes)

9. Re: Conflicting Types Between .h and .c files (score: 1)
Author: mdew <mdew@xxxxxxxxxxxx>
Date: 21 Aug 2002 00:37:40 +1200
whats stopping you installing gcc 3.1.1 ? (or if you're keen 3.2) -- ph33r! Linux mdew 2.4.19-xfs-rmap13c-preemptive #2 Sat Aug 10 02:18:14 NZST 2002 i686 unknown unknown GNU/Linux GPG Key: http://md
/archives/xfs/2002-08/msg00296.html (9,916 bytes)

10. Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Fri, 16 Aug 2002 09:29:09 -0400
I just updated from CVS this AM, and am having type conflicts between the xfs .h and .c files on the type of kmem_zone. The .h file sez its: extern struct kmem_zone *<grump>; while the .c file sez i
/archives/xfs/2002-08/msg00865.html (8,135 bytes)

11. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 19:47:35 +0100
I don't think that's valid. And at least gcc 3.2 doesn't complain.. In this case not, as the kmem_zone_t is an object opaque to it's user. Compare it to kmem_cache_t in þhe core Linux code
/archives/xfs/2002-08/msg00866.html (9,090 bytes)

12. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 14:52:08 -0400
Yes, but 2.96 does. I'd think that several folks use 2.96, since that's the standard gcc from RH 7.2. Okay, point taken. Nevertheless, the types between the .c and .h files should be consistent, wha
/archives/xfs/2002-08/msg00867.html (8,974 bytes)

13. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 19:56:41 +0100
Gcc '2.96' is a development snapshot. Even if redhat ships it it's by now ways official. No. Using structs in headers and typedefs in the actual source is very common, because you can use pointers to
/archives/xfs/2002-08/msg00869.html (9,303 bytes)

14. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 15:11:32 -0400
Okay, one more try, and I'll admit defeat, and shut up: "Official" or not, many folks who use XFS will compile it with gcc 2.96, because that's the version they get by default. They must make the ch
/archives/xfs/2002-08/msg00871.html (10,352 bytes)

15. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: 19 Aug 2002 14:40:08 -0500
Danny - FWIW, xfs compiles for me with no warnings, using gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110) on today's CVS tree. -Eric -- Eric Sandeen XFS for Linux http://oss.sgi.com/projects/x
/archives/xfs/2002-08/msg00872.html (9,794 bytes)

16. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 20:43:46 +0100
But it does work with redhat's latest release compilers (7.1/7.2 errata, 7.3). So please upgrade to those, older compilers are known to produce buggy code in combination with XFS anyway.
/archives/xfs/2002-08/msg00873.html (9,986 bytes)

17. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: Mon, 19 Aug 2002 15:58:13 -0400
From my system, "rpm -qa | grep gcc" produces: gcc-2.96-108.7.2 granted, Eric says his is gcc-2.96-110.*, but I'm as uptodate as I know how to be. Am I missing something obvious? -- kernel, n.: A pa
/archives/xfs/2002-08/msg00874.html (9,160 bytes)

18. Re: Conflicting Types Between .h and .c files (score: 1)
Author:
Date: 21 Aug 2002 00:37:40 +1200
whats stopping you installing gcc 3.1.1 ? (or if you're keen 3.2) -- ph33r! Linux mdew 2.4.19-xfs-rmap13c-preemptive #2 Sat Aug 10 02:18:14 NZST 2002 i686 unknown unknown GNU/Linux GPG Key: http://md
/archives/xfs/2002-08/msg00883.html (9,916 bytes)


This search system is powered by Namazu