public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libobjc/28433]  New: objc_write_type fails for floats and doubles
@ 2006-07-19 11:08 issac dot trotts at gmail dot com
  2006-07-19 11:12 ` [Bug libobjc/28433] " pinskia at gcc dot gnu dot org
  2010-09-08 18:16 ` nicola at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: issac dot trotts at gmail dot com @ 2006-07-19 11:08 UTC (permalink / raw)
  To: gcc-bugs

ijtrotts@localhost:/tmp$ gcc objc_float_bug.m  -lobjc
ijtrotts@localhost:/tmp$ ./a.out
objc_write_type: cannot parse typespec: f
Aborted
ijtrotts@localhost:/tmp$ cat objc_float_bug.m
#include <objc/Object.h>

int main()
{
    float x=1.25;
    TypedStream* stream =
        objc_open_typed_stream_for_file("foo",OBJC_WRITEONLY);
    objc_write_type(stream, @encode(float), &x);
    objc_close_typed_stream(stream);
    return 0;
}

ijtrotts@localhost:/tmp$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/specs
Configured with: ../gcc-3.3.5/configure --enable-languages=c,c++,f77,objc
--enable-objc-gc
Thread model: posix
gcc version 3.3.5


-- 
           Summary: objc_write_type fails for floats and doubles
           Product: gcc
           Version: 3.3.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libobjc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: issac dot trotts at gmail dot com


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


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

end of thread, other threads:[~2010-09-08 18:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-19 11:08 [Bug libobjc/28433] New: objc_write_type fails for floats and doubles issac dot trotts at gmail dot com
2006-07-19 11:12 ` [Bug libobjc/28433] " pinskia at gcc dot gnu dot org
2010-09-08 18:16 ` nicola at gcc dot gnu dot org

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).