[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GCC/GLIBC header conflict - _G_config.h
From: |
Shawn Starr |
Subject: |
GCC/GLIBC header conflict - _G_config.h |
Date: |
Tue, 30 Jan 2001 16:19:52 -0500 |
-rw-r--r-- 1 root root 2.3k Dec 7 15:31 _G_config.h
-rw-r--r-- 1 root root 2.6k Dec 7 01:45
_G_config.h.glibc22
The _G_config.h header file, that comes with glibc 2.2 breaks gcc 2.95.2
when compiling C++ projects.
/usr/include/g++/streambuf.h: In method `struct streampos
streambuf::pubseekoff(long long int, ios::seek_dir, int = 3)':
/usr/include/g++/streambuf.h:362: conversion from `__off64_t' to
non-scalar type `streampos' requested
/usr/include/g++/streambuf.h: In method `struct streampos
streambuf::pubseekpos(_G_fpos64_t, int = 3)':
/usr/include/g++/streambuf.h:364: `struct streampos' used where a `long
long int' was expected
Is this known?
It seems to happen each time I recompile a new version of glibc. For now
i have to keep both copies incase i need the new one.
The solution is to rename the new glibc header file and replace it with
the old one. Then G++/C++ works again.
Shawn.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GCC/GLIBC header conflict - _G_config.h,
Shawn Starr <=