View Issue Details

IDProjectCategoryView StatusLast Update
0000590ascendbuild-linuxpublic2016-04-16 03:25
Reportersagitter 
Assigned Tojohn 
PriorityurgentSeverityblockReproducibilityalways
Status assignedResolutionopen 
PlatformLinuxOSFedoraOS Version24+
Product Version 
Target VersionFixed in Version 
Summary0000590: [Compile error with GCC-6.0] ascend/compiler/anoncopy.c
DescriptionHi all,

ascend (svn 3100) cannot be built with GCC-6 on Fedora 24+ :

ascend/compiler/anoncopy.c:167:31: error: expected unqualified-id before 'new'
   register struct ArrayChild *new,*src;
                               ^~~
ascend/compiler/anoncopy.c:167:31: error: expected initializer before 'new'
ascend/compiler/anoncopy.c:173:2: error: 'src' was not declared in this scope
  src = (struct ArrayChild *)gl_fetch(list,c);
  ^~~
ascend/compiler/anoncopy.c:174:6: error: expected type-specifier before '=' token
  new = MALLOCPOOLAC;
      ^
ascend/compiler/anoncopy.c:175:7: error: expected type-specifier before '=' token
  *new = *src;
       ^
ascend/compiler/anoncopy.c:177:16: error: expected type-specifier before '->' token
         if (new->inst !=NULL) {
                ^~
ascend/compiler/anoncopy.c:177:16: error: expected ')' before '->' token
In file included from ascend/compiler/anoncopy.c:74:0:
ascend/compiler/anoncopy.c:178:35: error: expected type-specifier before '->' token
           switch (InstanceKind(new->inst)) {


Full log: http://fpaste.org/335182/
TagsNo tags attached.

Relationships

Activities

sagitter

2016-04-16 03:25

reporter   ~0001012

In someway, setting CC and CXX variables with SCons breaks compilers detection. Do not do that.

Errors fixed.

Issue History

Date Modified Username Field Change
2016-03-08 02:50 sagitter New Issue
2016-03-08 02:50 sagitter Status new => assigned
2016-03-08 02:50 sagitter Assigned To => john
2016-04-16 03:25 sagitter Note Added: 0001012