Bugs item #1666403, was opened at 2007-02-22 19:17
Message generated for change (Comment added) made by dannybackx
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=1666403&group_id=173455

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aldo Calpini (acalpini)
Assigned to: Nobody/Anonymous (nobody)
Summary: cegcc doesn't output last line without a terminating newline

Initial Comment:
given this simple test.c file:

  #include <stdio.h>
  
  int main(int argc, char **argv) {
    printf("1\n");
    printf("2");
    return 0;
  }


compiled with:

arm-wince-cegcc-gcc -o test_cegcc.exe test.c

I get the following output on the PDA:

  \Temp> test_cegcc
  1
  \Temp>

the same program compiled with mingw32ce with:

arm-wince-mingw32ce-gcc -o test_mingw32ce.exe test.c

produces instead the desired output:

  \Temp> test_mingw32ce
  1
  2\Temp>

putting a \n after the "2" in the last printf works correctly with both 
compilers.

cheers,
Aldo

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

>Comment By: Danny Backx (dannybackx)
Date: 2008-12-18 08:18

Message:
Is this still present ?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=865514&aid=1666403&group_id=173455

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to