delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/22:16:07

From: "John \"The Mayor\" Curley" <themayor AT ix DOT netcom DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Non-aggregate type function?
Date: Sun, 30 Aug 1998 22:02:23 -0400
Organization: ICGNetcom
Lines: 15
Message-ID: <6sd07e$985@sjx-ixn5.ix.netcom.com>
NNTP-Posting-Host: bos-ma5-16.ix.netcom.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

What does this compiler error mean?

I am trying to make a call to vector::push_back()

Uranus1.cpp:11: request for member `push_back' in `BuddyList()', which is of
non
-aggregate type `vector<Friend,__default_alloc_template<false,0> > ()()'
Uranus1.cpp:12: request for member `push_back' in `BuddyList()', which is of
non
-aggregate type `vector<Friend,__default_alloc_template<false,0> > ()()'

Thanks,
John Curley


  'rhide -y'
to account for long filenames, but that did not help.  Still streambuf.h is
not found.

>While compiling "hello.cpp"
>#include <iostream.h>
>int main (void)
>{
>        cout << "Hello world\n";
>        cout << "test";
>}

>I get the following error :
>iostream.h(31) Error: streambuf.h No such file or directory (ENOENT) There
>were some errors .



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019