public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11720] New: mozilla configure script thinks 3.3.1 has pedantic long long bug
@ 2003-07-30  1:03 calum dot mackay at sun dot com
  2003-07-30  1:11 ` [Bug c++/11720] " pinskia at physics dot uc dot edu
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: calum dot mackay at sun dot com @ 2003-07-30  1:03 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11720

           Summary: mozilla configure script thinks 3.3.1 has pedantic long
                    long bug
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: calum dot mackay at sun dot com
                CC: gcc-bugs at gcc dot gnu dot org

Whilst configuring the mozilla appsuite with 3.3.1, the following error occurs:

checking whether C++ compiler has -pedantic long long bug... yes
configure: error: Your compiler appears to have a known bug where long long is m
iscompiled when using -pedantic.  Reconfigure using --disable-pedantic. 

I can reproduce the test:

diz $ cat conftest.C 
int main () {
        if (sizeof(long long) != 8) { return 1; } 
        return 0;
}
diz $ c++ -pedantic conftest.C
conftest.C: In function `int main()':
conftest.C:2: error: ISO C++ does not support `long long'

Is mozilla using a valid test?

I'm using the Debian unstable packages:

diz $ c++ -v
Reading specs from /usr/lib/gcc-lib/i386-linux/3.3.1/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib
--enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-debug --enable-java-gc=boehm
--enable-java-awt=xlib --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.3.1 20030728 (Debian prerelease)

Is this possibly related to bug 11459?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11720] mozilla configure script thinks 3.3.1 has pedantic long long bug
  2003-07-30  1:03 [Bug c++/11720] New: mozilla configure script thinks 3.3.1 has pedantic long long bug calum dot mackay at sun dot com
@ 2003-07-30  1:11 ` pinskia at physics dot uc dot edu
  2003-07-30 11:06 ` pinskia at physics dot uc dot edu
  2003-07-30 11:24 ` calum dot mackay at sun dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-30  1:11 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11720



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-30 01:11 -------
There was a change in 3.3.1 which pedantic warnings into errors because those were changing 
into warnings from errors when -pedantic was added.
I think the check is invalid as it should not be checking on if -pedantic errors out when long long 
is used but check for the micompiled instead.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11720] mozilla configure script thinks 3.3.1 has pedantic long long bug
  2003-07-30  1:03 [Bug c++/11720] New: mozilla configure script thinks 3.3.1 has pedantic long long bug calum dot mackay at sun dot com
  2003-07-30  1:11 ` [Bug c++/11720] " pinskia at physics dot uc dot edu
@ 2003-07-30 11:06 ` pinskia at physics dot uc dot edu
  2003-07-30 11:24 ` calum dot mackay at sun dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-30 11:06 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11720


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-30 11:06 -------
Closing based on my previous analysis.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/11720] mozilla configure script thinks 3.3.1 has pedantic long long bug
  2003-07-30  1:03 [Bug c++/11720] New: mozilla configure script thinks 3.3.1 has pedantic long long bug calum dot mackay at sun dot com
  2003-07-30  1:11 ` [Bug c++/11720] " pinskia at physics dot uc dot edu
  2003-07-30 11:06 ` pinskia at physics dot uc dot edu
@ 2003-07-30 11:24 ` calum dot mackay at sun dot com
  2 siblings, 0 replies; 4+ messages in thread
From: calum dot mackay at sun dot com @ 2003-07-30 11:24 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11720



------- Additional Comments From calum dot mackay at sun dot com  2003-07-30 11:24 -------
I've logged a mozilla bug for this:

http://bugzilla.mozilla.org/show_bug.cgi?id=214051


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-30 11:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-30  1:03 [Bug c++/11720] New: mozilla configure script thinks 3.3.1 has pedantic long long bug calum dot mackay at sun dot com
2003-07-30  1:11 ` [Bug c++/11720] " pinskia at physics dot uc dot edu
2003-07-30 11:06 ` pinskia at physics dot uc dot edu
2003-07-30 11:24 ` calum dot mackay at sun dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).