[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 237420] fopen and some other functions not found if iosfwd
From: Nicolás Alvarez <nicolas.alvarez () gmail ! com>
Date: 2010-06-16 3:25:26
Message-ID: 20100616032526.A8B7045CC1 () immanuel ! kde ! org
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=237420
--- Comment #2 from Nicolás Alvarez <nicolas alvarez gmail com> 2010-06-16 05:25:25 ---
Here you go; it couldn't be shorter:
//evil.h:
#ifndef FIRSTRUN
void foo();
#endif
#undef FIRSTRUN
//main.c:
#define FIRSTRUN
#include "evil.h"
#include "evil.h"
int main() {
foo();
}
Works in GCC, but KDevelop says foo() is not declared.
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic