C/C++
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs C/C++

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old June 19th, 2008, 10:09 AM
suppamax
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
PC-Lint: undeclared funtion

Hi everybody!

I'm using for the first time PC-Lint.

I'm analysing my C program for Microchip PIC18F
microcontroller.

In particualr I have a problem with library
functions like "memcpy" or "ltoa".

I've included <string.hand <stdlib.hin my
files, and I've added their path in my lin.bat file.

But it seems that PC-lint is unable to recognise
them, since I receive the following message

(void)memcpy((void *)&FailureBuffer.date,
(const void *)&g_CurrentTime, sizeof(timestamp_t));
\source files\app_check.c 292 Info 718: Symbol
'memcpy' undeclared, assumed
to return int
\source files\app_check.c 292 Info 746: call
to function 'memcpy()' not
made in the presence of a prototype

and

Warning 526: Symbol 'memcpy()' (line 292, file
\source files\app_check.c) not
defined
\source files\app_check.c 292 Info 830:
Location cited in prior message
Warning 628: no argument information provided for
function 'memcpy()' (line
292, file \source files\app_check.c)
\source files\app_check.c 292 Info 830:
Location cited in prior message


What can I do?


Thanks,


Max

Reply With Quote
Reply

Viewing: Web Development Archives FAQs C/C++ > PC-Lint: undeclared funtion


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
Stay green...Green IT