Menu

#22 Borland Warnings in configuration.c

v1.3
open
nobody
Core (7)
5
2008-05-30
2005-03-06
No

Borland BCC32 compiler version 5.6.4 produces the
following warning when compiling configuration.c from
the CVS.

Warning W8001 ..\..\..\..\libmss\configuration.c 219:
Superfluous & with function in function
mss_get_configuration

Here is the explanation from the Borland Help file:

W8001 Superfluous & with function
An address-of operator (&) is not needed with function
name; any such operators are discarded.

Discussion

  • Charles Brockman

    Logged In: YES
    user_id=250965

    Warning W8001 ..\..\..\..\libmss\configuration.c 219:
    Superfluous & with function in function mss_get_configuration

    I changed line 219 to
    dcflist_create(&mss_config_error, free);

    Index: configuration.c

    RCS file: /cvsroot/libmss/libmss/configuration.c,v
    retrieving revision 1.2
    diff -r1.2 configuration.c
    219c219
    < dcflist_create(&mss_config_error, &free);
    ---
    > dcflist_create(&mss_config_error, free);

     
  • Laurynas Biveinis

    • assigned_to: lauras --> nobody
     

Log in to post a comment.

MongoDB Logo MongoDB