NetBSD Problem Report #52873

From www@NetBSD.org  Thu Dec 28 13:08:54 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0054B7A19B
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 28 Dec 2017 13:08:53 +0000 (UTC)
Message-Id: <20171228130853.4E74A7A1FA@mollari.NetBSD.org>
Date: Thu, 28 Dec 2017 13:08:53 +0000 (UTC)
From: n54@gmx.com
Reply-To: n54@gmx.com
To: gnats-bugs@NetBSD.org
Subject: Userland header <dev/ic/hd44780var.h> cannot be included
X-Send-Pr-Version: www-1.0

>Number:         52873
>Category:       kern
>Synopsis:       Userland header <dev/ic/hd44780var.h> cannot be included
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 28 13:10:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 8.99.9 amd64
>Organization:
TNF
>Environment:
NetBSD chieftec 8.99.9 NetBSD 8.99.9 (GENERIC) #0: Mon Dec 25 12:58:16 CET 2017  root@chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
Userland header <dev/ic/hd44780var.h> cannot be included.
>How-To-Repeat:
chieftec$ gcc t.c 
In file included from t.c:3:0:
/usr/include/dev/ic/hd44780var.h:68:14: error: ‘HD_MAX_CHARS’ undeclared here (not in a function)
  uint8_t buf[HD_MAX_CHARS];
              ^
chieftec$ cat t.c
#include <sys/param.h>
#include <sys/types.h>
#include <dev/ic/hd44780var.h>

int
main(int argc, char **argv)
{
        return 0;
}
>Fix:
N/A

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.