Public bug reported: Binary package hint: gcc-4.1
UBUNTU VERSION: Ubuntu 7.04 VESRION: apt-cache show g++ Package: g++ Priority: optional Section: devel Installed-Size: 40 Maintainer: Ubuntu Core developers <[EMAIL PROTECTED]> Original-Maintainer: Debian GCC Maintainers <[EMAIL PROTECTED]> Architecture: amd64 Source: gcc-defaults (1.51ubuntu1) Version: 4:4.1.2-1ubuntu1 Provides: c++-compiler Depends: cpp (>= 4:4.1.2-1ubuntu1), gcc (>= 4:4.1.2-1ubuntu1), g++-4.1 (>= 4.1.2), gcc-4.1 (>= 4.1.2) Filename: pool/main/g/gcc-defaults/g++_4.1.2-1ubuntu1_amd64.deb Size: 1432 MD5sum: 0b4ffa571ec41f5012dde252e772cc87 SHA1: 911d2e467f003dc659ad3bee8520dde035bc7990 SHA256: a746b84e7f96c834b6b149aa96a63260da6e76725041daac10fb8b7e780ca4fb Description: The GNU C++ compiler This is the GNU C++ compiler, a fairly portable optimizing compiler for C++. . This is a dependency package providing the default GNU C++ compiler. Bugs: mailto:[EMAIL PROTECTED] Origin: Ubuntu SAMPLE APPLICATION TO REPRODUCE ERROR: /** * You Fail It! * * Demonstration of G++ defining big endian on little endian arch */ #include <iostream> int main( int argc, char * argv[] ) { std::cout << "\nStarting Test\n"; #ifdef BIG_ENDIAN #if defined __i386__ || __amd64__ std::cout << "\nYOU FAIL IT!\n\nBIG_ENDIAN defined on little endian arch\n\n"; #endif #endif std::cout << "Done!\n"; return (0); } ** Affects: gcc-4.1 (Ubuntu) Importance: Undecided Status: New -- defines BIG_ENDIAN on little endian machines https://bugs.launchpad.net/bugs/125031 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs