[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[uracoli-devel] [bug #30194] warning: useless type name in empty declara
From: |
Joerg Wunsch |
Subject: |
[uracoli-devel] [bug #30194] warning: useless type name in empty declaration |
Date: |
Mon, 21 Jun 2010 20:43:56 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100331 Firefox/3.5.9 |
URL:
<http://savannah.nongnu.org/bugs/?30194>
Summary: warning: useless type name in empty declaration
Project: µracoli
Submitted by: joerg_wunsch
Submitted on: Mon 21 Jun 2010 10:43:55 PM CEST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
In file included from /junk/AVR/uracoli/install/inc/ioutil.h:57,
from project.h:8,
from fb.c:4:
/junk/AVR/uracoli/install/inc/hif.h:74: warning: useless type name in empty
declaration
This is due to:
#if HIF_TYPE != HIF_NONE || defined DOXYGEN
...
#else
# define hif_init(br)
...
#endif
...
void hif_init(const uint32_t baudrate);
Even if HIF_NONE is a pointless usage case, it should not
result in an empty definition inside the header file, which
eventually turns out to be:
void ;
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30194>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [uracoli-devel] [bug #30194] warning: useless type name in empty declaration,
Joerg Wunsch <=