Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #90461 > unrolled thread
| Started by | Aaditya Kalsi <aadityakalsi@gmail.com> |
|---|---|
| First post | 2016-07-16 17:45 -0700 |
| Last post | 2016-07-22 16:52 -0700 |
| Articles | 3 on this page of 23 — 6 participants |
Back to article view | Back to comp.lang.c
Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-16 17:45 -0700
Re: Feedback for a malloc implementation Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 12:22 +0530
Re: Feedback for a malloc implementation Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 17:58 +0530
Re: Feedback for a malloc implementation BartC <bc@freeuk.com> - 2016-07-17 13:40 +0100
Re: Feedback for a malloc implementation Udyant Wig <udyant.wig@gmail.com> - 2016-07-17 23:06 +0530
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 13:40 -0700
Re: Feedback for a malloc implementation Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-17 00:30 -0700
Re: Feedback for a malloc implementation BartC <bc@freeuk.com> - 2016-07-17 10:54 +0100
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 04:36 -0700
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 04:31 -0700
Re: Feedback for a malloc implementation Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-17 11:40 -0700
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 13:41 -0700
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 07:02 -0700
Re: Feedback for a malloc implementation BartC <bc@freeuk.com> - 2016-07-17 20:38 +0100
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 13:44 -0700
Re: Feedback for a malloc implementation BartC <bc@freeuk.com> - 2016-07-17 22:19 +0100
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-17 18:08 -0700
Re: Feedback for a malloc implementation Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-18 09:40 -0700
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-18 10:48 -0700
Re: Feedback for a malloc implementation Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-20 08:45 -0700
Re: Feedback for a malloc implementation Keith Thompson <kst-u@mib.org> - 2016-07-20 09:28 -0700
Re: Feedback for a malloc implementation Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-21 18:25 -0700
Re: Feedback for a malloc implementation Aaditya Kalsi <aadityakalsi@gmail.com> - 2016-07-22 16:52 -0700
Page 2 of 2 — ← Prev page 1 [2]
| From | Keith Thompson <kst-u@mib.org> |
|---|---|
| Date | 2016-07-20 09:28 -0700 |
| Message-ID | <ln1t2omfy7.fsf@kst-u.example.com> |
| In reply to | #90662 |
Tim Rentsch <txr@alumni.caltech.edu> writes:
[...]
> I followed your directions and checked out the distribution
> branch. No problem running cmake. But then the make failed.
> Here is the first error message (please excuse my wrapping the
> long lines):
>
> [ 21%] Building CXX object test/CMakeFiles/tMallocPerfRef.dir/tMallocPerf.cpp.o
> In file included from /usr/include/c++/4.8/thread:35:0,
> from /opt/software/git/akmalloc/test/tMallocPerf.cpp:307:
> /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
> requires compiler and library support for the ISO\
> C++ 2011 standard. This support is currently experimental, and must be
> enabled with the -std=c++11 or -std=gnu++11 compi\
> ler options.
> #error This file requires compiler and library support for the \
> ^
(This is arguably off-topic, but ...)
The versions of C and C++ supported by gcc and g++ by default have
changed with recent releases. With the 4.8 version you're using,
the defaults are -std=gnu90 and -std=gnu++98. gcc release 5 (I
checked 5.3.0) changed the default for C to -std=gnu11, and release 6
(I checked 6.1.0) changed the default for C++ to -std=gnu++14.
It's likely that you wouldn't encounter the above error if you used
gcc release 6 (you'd probably have to install it yourself).
The Makefile (and/or whatever cmake uses) should be updated to
specify the standard to use by passing the proper option to the
gcc and g++ commands.
--
Keith Thompson (The_Other_Keith) kst-u@mib.org <http://www.ghoti.net/~kst>
Working, but not speaking, for JetHead Development, Inc.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
[toc] | [prev] | [next] | [standalone]
| From | Tim Rentsch <txr@alumni.caltech.edu> |
|---|---|
| Date | 2016-07-21 18:25 -0700 |
| Message-ID | <kfnmvlatqeg.fsf@x-alumni2.alumni.caltech.edu> |
| In reply to | #90671 |
Keith Thompson <kst-u@mib.org> writes:
> Tim Rentsch <txr@alumni.caltech.edu> writes:
> [...]
>> I followed your directions and checked out the distribution
>> branch. No problem running cmake. But then the make failed.
>> Here is the first error message (please excuse my wrapping the
>> long lines):
>>
>> [ 21%] Building CXX object
>> {} test/CMakeFiles/tMallocPerfRef.dir/tMallocPerf.cpp.o
>> In file included from /usr/include/c++/4.8/thread:35:0,
>> from /opt/software/git/akmalloc/test/tMallocPerf.cpp:307:
>> /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
>> requires compiler and library support for the ISO\
>> C++ 2011 standard. This support is currently experimental, and must be
>> enabled with the -std=c++11 or -std=gnu++11 compi\
>> ler options.
>> #error This file requires compiler and library support for the \
>> ^
>
> (This is arguably off-topic, but ...)
>
> The versions of C and C++ supported by gcc and g++ by default have
> changed with recent releases. With the 4.8 version you're using,
> the defaults are -std=gnu90 and -std=gnu++98. gcc release 5 (I
> checked 5.3.0) changed the default for C to -std=gnu11, and release 6
> (I checked 6.1.0) changed the default for C++ to -std=gnu++14.
Yes, I was pretty sure something like that happened. I
didn't make any effort to track it down.
> It's likely that you wouldn't encounter the above error if you used
> gcc release 6 (you'd probably have to install it yourself).
Yes, and I expect I could have worked around it in other ways,
if it were important for me to do that. For what I was trying
to do it wasn't.
> The Makefile (and/or whatever cmake uses) should be updated to
> specify the standard to use by passing the proper option to the
> gcc and g++ commands.
Exactly. That's why I reported it.
[toc] | [prev] | [next] | [standalone]
| From | Aaditya Kalsi <aadityakalsi@gmail.com> |
|---|---|
| Date | 2016-07-22 16:52 -0700 |
| Message-ID | <41381aa9-152a-4ba6-8422-25c2d7ee53e9@googlegroups.com> |
| In reply to | #90745 |
On Thursday, July 21, 2016 at 9:25:50 PM UTC-4, Tim Rentsch wrote:
> Keith Thompson
> > Tim Rentsch
> >> I followed your directions and checked out the distribution
> >> branch. No problem running cmake. But then the make failed.
> >> Here is the first error message (please excuse my wrapping the
> >> long lines):
> >>
> >> [ 21%] Building CXX object
> >> {} test/CMakeFiles/tMallocPerfRef.dir/tMallocPerf.cpp.o
> >> In file included from /usr/include/c++/4.8/thread:35:0,
> >> from /opt/software/git/akmalloc/test/tMallocPerf.cpp:307:
> >> /usr/include/c++/4.8/bits/c++0x_warning.h:32:2: error: #error This file
> >> requires compiler and library support for the ISO\
> >> C++ 2011 standard. This support is currently experimental, and must be
> >> enabled with the -std=c++11 or -std=gnu++11 compi\
> >> ler options.
> >> #error This file requires compiler and library support for the \
> >> ^
> >
> > (This is arguably off-topic, but ...)
> >
> > The versions of C and C++ supported by gcc and g++ by default have
> > changed with recent releases. With the 4.8 version you're using,
> > the defaults are -std=gnu90 and -std=gnu++98. gcc release 5 (I
> > checked 5.3.0) changed the default for C to -std=gnu11, and release 6
> > (I checked 6.1.0) changed the default for C++ to -std=gnu++14.
>
> Yes, I was pretty sure something like that happened. I
> didn't make any effort to track it down.
Thanks for reporting this. I will make sure these little details get ironed out.
> > It's likely that you wouldn't encounter the above error if you used
> > gcc release 6 (you'd probably have to install it yourself).
>
> Yes, and I expect I could have worked around it in other ways,
> if it were important for me to do that. For what I was trying
> to do it wasn't.
>
> > The Makefile (and/or whatever cmake uses) should be updated to
> > specify the standard to use by passing the proper option to the
> > gcc and g++ commands.
>
> Exactly. That's why I reported it.
Will fix this.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | comp.lang.c
csiph-web