Re: regarding gcc 4.1 to gcc 4.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi
Can you tell me any code change required when we are migrating from gcc
4.1.x version to gcc 4.8.x and any reference link for migrating code to new
compiler




On Friday, July 6, 2018, Vahith .j <vahith@xxxxxxxxx> wrote:

> Hi All G'Day.,
>
> i am facing one issue when migrating my code to gcc 4.1 to 4.8, can you
> provide step to take for migration..
>
> *problems facing: *
> when i use gmake command on the my cpp code in gcc 4.1, it compiles fine
> and executing but same code when i using in gcc 4.8 version its giving
> below exception can you explain cause and solution for same
>
> error:
> *cc    -c -o include.o include.c*
> *In file included from include.c:30:0:*
> *def.h:131:9: error: conflicting types for ‘getline’*
> * char   getline();*
> *         ^*
> *In file included from def.h:31:0,*
> *                 from include.c:30:*
> */usr/include/stdio.h:678:20: note: previous declaration of ‘getline’ was
> here*
> * extern IO_ssize_t getline (char restrict _lineptr,*
>
>
>
> Thanks in Advance
> vahith.j
>
>

-- 
regards
vahith.j
(9008038503)




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux