Welcome, Guest. Please
login
or
register
.
Forums
Forums
Board
Topic
Home
Today's Posts
Gallery
Login
Register
Amiga.org
»
Amiga computer related discussion
»
Amiga/MorphOS/AROS Programmers Forum
»
How to turn off GCC "incompatible pointer" warnings
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: How to turn off GCC "incompatible pointer" warnings (Read 1596 times)
Description:
0 Members and 1 Guest are viewing this topic.
Minuous
Hero Member
Join Date: Jan 2003
Posts: 809
Thanked: 4 times
How to turn off GCC "incompatible pointer" warnings
«
on:
November 19, 2014, 06:04:04 PM »
I'm getting a lot of these warnings when using GCC under OS4:
assignment from incompatible pointer type
passing argument
of '
' from incompatible pointer type
and want to know what GCC command line option will suppress them. Thanks.
«
Last Edit: November 19, 2014, 07:45:40 PM by Minuous
»
Logged
Thomas
Hero Member
Join Date: Jun 2002
Posts: 3376
Country:
Thanked: 21 times
Re: How to turn off GCC "incompatible pointer" warnings
«
Reply #1 on:
November 20, 2014, 10:12:10 AM »
That's a bad approach. You should rather fix the source code.
Logged
Email:
thomas-rapp@web.de
Home:
thomas-rapp.homepage.t-online.de/
Minuous
Hero Member
Join Date: Jan 2003
Posts: 809
Thanked: 4 times
Re: How to turn off GCC "incompatible pointer" warnings
«
Reply #2 on:
November 20, 2014, 10:58:14 AM »
Or they should fix their compiler so it doesn't emit warnings for harmless scenarios; that's more the role of a lint tool. Speaking of which, what is the best Lint for OS4?
«
Last Edit: November 20, 2014, 07:26:05 PM by Minuous
»
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Amiga.org
»
Amiga computer related discussion
»
Amiga/MorphOS/AROS Programmers Forum
»
How to turn off GCC "incompatible pointer" warnings
There was an error while thanking
Thanking...