Click here to Skip to main content
15,790,807 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt24-Apr-18 22:07
professionalJochen Arndt24-Apr-18 22:07 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 4:36
Vaclav_25-Apr-18 4:36 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Jochen Arndt25-Apr-18 5:20
professionalJochen Arndt25-Apr-18 5:20 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 10:11
Vaclav_25-Apr-18 10:11 
GeneralRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_25-Apr-18 10:11
Vaclav_25-Apr-18 10:11 
AnswerRe: From framebuffer to SPI via ioctl in Linux Pin
Vaclav_23-Apr-18 6:21
Vaclav_23-Apr-18 6:21 
Questionerror: expected unqualified-id before numeric constant Pin
Vaclav_22-Apr-18 17:49
Vaclav_22-Apr-18 17:49 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan22-Apr-18 23:20
mveRichard MacCutchan22-Apr-18 23:20 
You have declared font_vga_8x8 as a variable which is a structure of type fbcon_font_desc. You then try to redeclare it as a new struct type, initialised with values rather than declarations. Your code should be:
C++
struct fbcon_font_desc {
    int index ; // idx;
    char *name;
    int width, height;
    unsigned char *data;   // font data
    int pref;
} font_vga_8x8 = // this is the name of the actual structure variable
{
    VGA8x8_IDX,
    "VGA8x8",
    8,
    8,
    fontdata_8x8,
    0
};

AnswerRe: error: expected unqualified-id before numeric constant Pin
Jochen Arndt22-Apr-18 23:58
professionalJochen Arndt22-Apr-18 23:58 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 4:04
Vaclav_23-Apr-18 4:04 
AnswerRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 5:57
Vaclav_23-Apr-18 5:57 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 7:42
mveRichard MacCutchan23-Apr-18 7:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 9:11
Vaclav_23-Apr-18 9:11 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_23-Apr-18 14:36
Vaclav_23-Apr-18 14:36 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan23-Apr-18 22:05
mveRichard MacCutchan23-Apr-18 22:05 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Vaclav_25-Apr-18 4:42
Vaclav_25-Apr-18 4:42 
GeneralRe: error: expected unqualified-id before numeric constant Pin
Richard MacCutchan25-Apr-18 5:59
mveRichard MacCutchan25-Apr-18 5:59 
QuestionObtaining a COM pointer in a C # ActiveX control inside an MFC ActiveX control Pin
SoulToMind20-Apr-18 21:48
SoulToMind20-Apr-18 21:48 
QuestionError when printing Pin
Erich Ruth20-Apr-18 6:51
Erich Ruth20-Apr-18 6:51 
Rant[REPOST] Error when printing Pin
Richard Deeming20-Apr-18 7:01
mveRichard Deeming20-Apr-18 7:01 
GeneralRe: [REPOST] Error when printing Pin
Victor Nijegorodov20-Apr-18 7:48
Victor Nijegorodov20-Apr-18 7:48 
QuestionRe: Error when printing Pin
David Crow20-Apr-18 7:12
David Crow20-Apr-18 7:12 
AnswerRe: Error when printing Pin
Erich Ruth20-Apr-18 8:49
Erich Ruth20-Apr-18 8:49 
AnswerRe: Error when printing Pin
Randor 20-Apr-18 21:26
professional Randor 20-Apr-18 21:26 
QuestionHow to use constructor list passing an array Pin
Vaclav_20-Apr-18 6:45
Vaclav_20-Apr-18 6:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.