[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-notify
Subject:    MinGW-notify digest, Vol 1 #708 - 4 msgs
From:       mingw-notify-request () lists ! sourceforge ! net
Date:       2004-01-13 4:02:08
Message-ID: E1AgFoa-0006mI-Gb () sc8-sf-list1 ! sourceforge ! net
[Download RAW message or body]

Send MinGW-notify mailing list submissions to
	mingw-notify@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
	mingw-notify-request@lists.sourceforge.net

You can reach the person managing the list at
	mingw-notify-admin@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-notify digest..."


This list is used to send updates of submitted patches, bug reports and file \
releases.  You are discouraged from posting to this list.  If you wish to unsubscribe \
you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.

Today's Topics:

   1. [ mingw-Bugs-874651 ] Do-while bug (SourceForge.net)
   2. [ mingw-Bugs-875676 ] long long int/printf bug (SourceForge.net)
   3. [ mingw-Bugs-875676 ] long long int/printf bug (SourceForge.net)
   4. [ mingw-Patches-875760 ] Add putchar() support to <tchar.h> (SourceForge.net)

--__--__--

Message: 1
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Mon, 12 Jan 2004 04:47:12 -0800
Subject: [Mingw-notify] [ mingw-Bugs-874651 ] Do-while bug

Bugs item #874651, was opened at 2004-01-10 17:34
Message generated for change (Comment added) made by earnie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=874651&group_id=2435

> Category: gcc
Group: None
> Status: Closed
> Resolution: Works For Me
Priority: 5
Submitted By: Jan Kowalski (kiput)
Assigned to: Earnie Boyd (earnie)
Summary: Do-while bug

Initial Comment:
The MinGW doesn't support standard ANSI C "do while".

----------------------------------------------------------------------

> Comment By: Earnie Boyd (earnie)
Date: 2004-01-12 07:47

Message:
Logged In: YES 
user_id=15438

Works for me!

BoydE@QWEST-WKCH1I7I3 ~
$ ./do
Howdy 0
Howdy 1
Howdy 2
Howdy 3
Howdy 4

BoydE@QWEST-WKCH1I7I3 ~
$ cat do.c
#include <stdio.h>
int main (void) {
  int i = 0;
  do {
    printf ("Howdy %d\n", i++);
  } while (i < 5);
}

BoydE@QWEST-WKCH1I7I3 ~
$ gcc -v
Reading specs from
c:/mnt/opt/mingw/bin/../lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld
--with-gnu-as --host=mingw32 --target=mingw32
--prefix=/mingw --enable-threads --disable-nls
--enable-languages=c++,f77,objc --disable-win32-registry
--disable-shared --enable-sjlj-exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

Earnie.

----------------------------------------------------------------------

Comment By: Danny Smith (dannysmith)
Date: 2004-01-10 19:45

Message:
Logged In: YES 
user_id=11494

Test case?
Danny

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=874651&group_id=2435


--__--__--

Message: 2
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Mon, 12 Jan 2004 13:11:03 -0800
Subject: [Mingw-notify] [ mingw-Bugs-875676 ] long long int/printf bug

Bugs item #875676, was opened at 2004-01-13 10:11
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=875676&group_id=2435

Category: gcc
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jevon Wright (jevonwright)
Assigned to: Danny Smith (dannysmith)
Summary: long long int/printf bug

Initial Comment:
(okay, first bug report, live with me here :P)

I'm using MinGW 3.3.1 [mingw32-g++ (GCC) 3.3.1 
(mingw special 20030804-1)] on Windows XP 
Professional SP1, and the following code doesn't work as 
expected:

------------
#include <stdio.h>
typedef long long int IndexInt;

int main(void) {
	IndexInt a;
	a = 1024LL;
	
	printf("%lld %lld\n", a, a);
	
	return 0;
}
------------
OUTPUT:
1024 0

EXPECTED OUTPUT:
1024 1024
------------

The above code works fine on Linux/gcc 2.96. The same 
result if you initialise 'a' with 1024LL.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=875676&group_id=2435


--__--__--

Message: 3
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Mon, 12 Jan 2004 13:14:46 -0800
Subject: [Mingw-notify] [ mingw-Bugs-875676 ] long long int/printf bug

Bugs item #875676, was opened at 2004-01-13 10:11
Message generated for change (Comment added) made by jevonwright
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=875676&group_id=2435

Category: gcc
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jevon Wright (jevonwright)
Assigned to: Danny Smith (dannysmith)
Summary: long long int/printf bug

Initial Comment:
(okay, first bug report, live with me here :P)

I'm using MinGW 3.3.1 [mingw32-g++ (GCC) 3.3.1 
(mingw special 20030804-1)] on Windows XP 
Professional SP1, and the following code doesn't work as 
expected:

------------
#include <stdio.h>
typedef long long int IndexInt;

int main(void) {
	IndexInt a;
	a = 1024LL;
	
	printf("%lld %lld\n", a, a);
	
	return 0;
}
------------
OUTPUT:
1024 0

EXPECTED OUTPUT:
1024 1024
------------

The above code works fine on Linux/gcc 2.96. The same 
result if you initialise 'a' with 1024LL.

----------------------------------------------------------------------

> Comment By: Jevon Wright (jevonwright)
Date: 2004-01-13 10:14

Message:
Logged In: YES 
user_id=949547

The following code:

printf("%lld %lld %lld %lld\n", a, a);

results in

1024 0 1024 0

(with no compiler errors.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=102435&aid=875676&group_id=2435


--__--__--

Message: 4
To: noreply@sourceforge.net
From: "SourceForge.net" <noreply@sourceforge.net>
Date: Mon, 12 Jan 2004 15:55:35 -0800
Subject: [Mingw-notify] [ mingw-Patches-875760 ] Add putchar() support to <tchar.h>

Patches item #875760, was opened at 2004-01-12 23:55
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=875760&group_id=2435

Category: runtime
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Greg Chicares (chicares)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add putchar() support to <tchar.h>

Initial Comment:
Published reference:

http://msdn.microsoft.com/library/default.asp?url=/libr
ary/en-us/vccore98/HTML/_crt_putc.2c_.putwc.2c_.putchar
.2c_.putwchar.asp

File: mingw/runtime/include/tchar.h, Revision 1.11

  #define _gettc          getwc
  #define _getts          _getws
  #define _puttc          putwc
+ #define _puttchar       putwchar
  #define _putts          _putws
  #define _ungettc        ungetwc

  #define _gettc          getc
  #define _getts          gets
  #define _puttc          putc
+ #define _puttchar       putchar
  #define _putts          puts
  #define _ungettc        ungetc


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=302435&aid=875760&group_id=2435



--__--__--

_______________________________________________
MinGW-notify mailing list
MinGW-notify@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-notify


End of MinGW-notify Digest


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic