Error compiling c program

Solution Verified - Updated -

Issue

doing make (on c program get following warning:

auditlog.c:35: warning: incompatible implicit declaration of built-in function bstrcpyb

#include </opt/informix/incl/tools/fglsys.h>
#include <stdio.h>
#include <time.h>
#include <stdlib.h>

Line 35 
strcpy ( sysdate, ctime ( &seconds ) );

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.