Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #5284

Re: Unexpected Difficulty with String Constant Concatenation

From Ben Pfaff <blp@cs.stanford.edu>
Newsgroups comp.lang.c
Subject Re: Unexpected Difficulty with String Constant Concatenation
Date 2011-06-02 09:02 -0700
Message-ID <878vtk43xd.fsf@blp.benpfaff.org> (permalink)
References <jqqcu69ug4eo4fd1b97qj75engnaogon2b@4ax.com> <8eSdnQguna-r8nvQnZ2dnUVZ_sCdnZ2d@bestweb.net> <87lixltrmp.fsf@blp.benpfaff.org> <AK-dnZWx3_nfOnrQnZ2dnUVZ_hmdnZ2d@bestweb.net>

Show all headers | View raw


Kenneth Brody <kenbrody@spamcop.net> writes:
> ==========
> C:\temp>type usenet.c
> foo()
>     {
>     "x"("y");
>     }
>
> C:\temp>cl /c usenet.c
> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> usenet.c
> usenet.c(3) : error C2064: term does not evaluate to a function taking
> 305 arguments
>
> C:\temp>
> ==========
>
> It gives the same "305 arguments" text regardless of what's in the
> "parameter list":
>
>    "x"("y","z");
>    "x"();
>    "x"(a,b,c);
>    "x"(1,2,3,4,5);

But what does it do if you give the function 305 arguments?
-- 
Ben Pfaff 
http://benpfaff.org

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unexpected Difficulty with String Constant Concatenation Datesfat Chicks <datesfat.chicks@gmail.com> - 2011-06-01 12:45 -0400
  Re: Unexpected Difficulty with String Constant Concatenation Billy Mays <noway@nohow.com> - 2011-06-01 12:49 -0400
    Re: Unexpected Difficulty with String Constant Concatenation Datesfat Chicks <datesfat.chicks@gmail.com> - 2011-06-01 13:19 -0400
  Re: Unexpected Difficulty with String Constant Concatenation blp@cs.stanford.edu (Ben Pfaff) - 2011-06-01 09:50 -0700
  Re: Unexpected Difficulty with String Constant Concatenation Kenneth Brody <kenbrody@spamcop.net> - 2011-06-01 12:56 -0400
    Re: Unexpected Difficulty with String Constant Concatenation blp@cs.stanford.edu (Ben Pfaff) - 2011-06-01 09:59 -0700
      Re: Unexpected Difficulty with String Constant Concatenation Kenneth Brody <kenbrody@spamcop.net> - 2011-06-02 11:07 -0400
        Re: Unexpected Difficulty with String Constant Concatenation Kenneth Brody <kenbrody@spamcop.net> - 2011-06-02 11:22 -0400
        Re: Unexpected Difficulty with String Constant Concatenation Shao Miller <sha0.miller@gmail.com> - 2011-06-02 11:25 -0500
        Re: Unexpected Difficulty with String Constant Concatenation Ben Pfaff <blp@cs.stanford.edu> - 2011-06-02 09:02 -0700
          Re: Unexpected Difficulty with String Constant Concatenation Kenneth Brody <kenbrody@spamcop.net> - 2011-06-03 10:49 -0400
        Re: Unexpected Difficulty with String Constant Concatenation "J. J. Farrell" <jjf@bcs.org.uk> - 2011-06-03 01:52 +0100
          Re: Unexpected Difficulty with String Constant Concatenation Keith Thompson <kst-u@mib.org> - 2011-06-02 18:06 -0700
  Re: Unexpected Difficulty with String Constant Concatenation Keith Thompson <kst-u@mib.org> - 2011-06-01 10:07 -0700
  Re: Unexpected Difficulty with String Constant Concatenation Stephen Sprunk <stephen@sprunk.org> - 2011-06-01 13:14 -0500

csiph-web