This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: My"C" Compiled can't compile "{}"


Paul McFerrin wrote:
> I discover my C compiler is broken while performing a "configure".

  The compiler is fine.

> $ echo "{}" >test.c

  Your testcase is nonsense.

> $ cc -O test.c -o test
> test.c:1: error: expected identifier or ‘(’ before ‘{’ token

  The compiler correctly told you so.  What were you expecting?  (Also, what
is 'cc'?  Softlink perhaps?)

    cheers,
      DaveK

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]