Changes in / [bd6e226:099e202]


Ignore:
Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/DeclarationNode.cc

    rbd6e226 r099e202  
    1010// Created On       : Sat May 16 12:34:05 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Apr 26 13:45:10 2018
    13 // Update Count     : 1064
     12// Last Modified On : Wed May 16 09:37:17 2018
     13// Update Count     : 1070
    1414//
    1515
     
    529529
    530530DeclarationNode * DeclarationNode::addQualifiers( DeclarationNode * q ) {
    531         if ( ! q ) { delete q; return this; }                           // empty qualifier
     531        if ( ! q ) { return this; }                                                     // empty qualifier
    532532
    533533        checkSpecifiers( q );
     
    563563
    564564        checkQualifiers( type, q->type );
    565         if ( (builtin == Zero || builtin == One) && error.length() == 0 ) {
     565        if ( (builtin == Zero || builtin == One) && q->type->qualifiers.val != 0 && error.length() == 0 ) {
    566566                SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ilog2( q->type->qualifiers.val )], builtinTypeNames[builtin] );
    567 //              appendError( error, string( "questionable qualifiers" ) );
    568567        } // if
    569568        addQualifiersToType( q->type, type );
  • src/driver/cfa.cc

    rbd6e226 r099e202  
    1010// Created On       : Tue Aug 20 13:44:49 2002
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon May 14 07:52:50 2018
    13 // Update Count     : 243
     12// Last Modified On : Mon May 14 14:16:33 2018
     13// Update Count     : 244
    1414//
    1515
     
    395395                args[nargs] = "-Wno-deprecated";
    396396                nargs += 1;
    397                 if ( ! std_flag ) {                                                             // default c99, if none specified
    398                         args[nargs] = "-std=gnu99";
     397                if ( ! std_flag ) {                                                             // default c11, if none specified
     398                        args[nargs] = "-std=gnu11";
    399399                        nargs += 1;
    400400                } // if
  • src/libcfa/stdlib

    rbd6e226 r099e202  
    1010// Created On       : Thu Jan 28 17:12:35 2016
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Sun May 13 23:22:23 2018
    13 // Update Count     : 299
     12// Last Modified On : Wed May 16 07:53:10 2018
     13// Update Count     : 300
    1414//
    1515
    1616#pragma once
    1717
    18 #define __USE_ISOC11                                                                    // aligned_alloc
    1918#include <stdlib.h>                                                                             // strto*, *abs
    2019
Note: See TracChangeset for help on using the changeset viewer.