# Error in ParaView 5.7.0 when compiling with gcc 4.9.4 lots of error: no type named ‘ValueType’ in ‘auto’

**URL:** https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366
**Category:** Development
**Created:** [January 17, 2020, 4:36pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366 "2020-01-17T16:36:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![chart3388](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chart3388](https://discourse.paraview.org/u/chart3388)
#### Post date: [January 17, 2020, 4:36pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366/1 "2020-01-17T16:36:27Z")

</div>

Building ParaView with the latest superbuild on commit dbfee3f64e9b64e126a2df217f0156381251aa3b with gcc-4.9.4 I get lots of repeated errors in the form of error:  
` no type named ‘ValueType’ in ‘auto’`  
and of:  
` <lambda(SrcTupleCRefT)>’, is used but never defined [-fpermissive]`  
I’ve attached a build output. ParaView 5.6 built just fine with gcc-4.9.4 for reference.  
[pverror.out](https://discourse.paraview.org/uploads/short-url/bwyhCZlxJUQ1l655YbrI4GqzWJ9.out) (1.8 MB)

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [January 17, 2020, 6:18pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366/2 "2020-01-17T18:18:59Z")

</div>

Cc: @robert.maynard Seems we have GCC 4.9 compilation errors too

---

<div class="post-metadata">

### Author: ![robert.maynard](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robert.maynard/32/93_2.png) [@robert.maynard](https://discourse.paraview.org/u/robert.maynard)
#### Post date: [January 17, 2020, 6:20pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366/3 "2020-01-17T18:20:46Z")

</div>

Okay I will look into fixing these in a separate MR.

---

<div class="post-metadata">

### Author: ![robert.maynard](https://discourse.paraview.org/user_avatar/discourse.paraview.org/robert.maynard/32/93_2.png) [@robert.maynard](https://discourse.paraview.org/u/robert.maynard)
#### Post date: [January 17, 2020, 10:37pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366/4 "2020-01-17T22:37:38Z")

</div>

@chart3388 I have opened a [merge request for VTK](https://gitlab.kitware.com/vtk/vtk/merge_requests/6400) that corrects this issue. Once merged into VTK, ParaView will update to get these corrections.

---

<div class="post-metadata">

### Author: ![chart3388](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/c/82dd89/32.png) [@chart3388](https://discourse.paraview.org/u/chart3388)
#### Post date: [January 19, 2020, 6:15pm UTC](https://discourse.paraview.org/t/error-in-paraview-5-7-0-when-compiling-with-gcc-4-9-4-lots-of-error-no-type-named-valuetype-in-auto/3366/5 "2020-01-19T18:15:08Z")

</div>

@robert.maynard - thank you. I’ll log this under an issue next time in gitlab. Also I can confirm this resolved the issue.
