Re: Function Using Pointers

From: Michael B Allen (mba2000_at_ioplex.com)
Date: 01/05/04


Date: Mon, 05 Jan 2004 16:07:19 -0500

First, if you would like to receive replys to your question, I
recommend removing 'hannibalkannibalATyahooDOTno' from your news reader
configuration for the 'Followup-To' field.

On Mon, 05 Jan 2004 15:43:09 -0500, Eirik WS wrote:

> when I call it using
> myStringClean(&myName);
> I get the warnings
> passing arg 1 of 'myStringClean' from incompatible pointer type.

The declaration of myName is not 'char *myName;'. Perhaps you're using
'char myName[N];'?

Mike



Relevant Pages

  • Re: C data container similar to Perl style key-value array?
    ... You will have to do the sorting yourself, however I have attached my implementation which I use in other projects that works great for this type of thing (it's actually a configuration parser). ... char **value; ... void rehash_config; int save_config; void deinit_config; ... */ void rehash_config(struct config_settings *config, char *filename) ...
    (comp.lang.c)
  • XP SP2 Possible conflict with ODBC Adminstrator->Text-Based Drivers
    ... the configuration of text based ODBC connections ... Here is what it writes after my upgrade to SP2: ... Col2="BILL COMPANY" Char Width 255 ... configuration it complains the schema.ini file is corrupt. ...
    (NT-Bugtraq)
  • overloading in c
    ... I am using gcc in linux. ... long, char *, ... But programmers will be happy if only one function is needed to write all ... The data type of a configuration item will be ...
    (comp.os.linux.development.apps)
  • Re: try, throw, and catch Gets a Linker Error
    ... And what configuration (Pocket PC, ... If the config is Pocket PC/Smartphone 2003, there is a bug in the SDK. ... > catch(char * str) ...
    (microsoft.public.windowsce.embedded)