Changes in / [099e202:bd6e226]
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/DeclarationNode.cc
r099e202 rbd6e226 10 10 // Created On : Sat May 16 12:34:05 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 16 09:37:17201813 // Update Count : 10 7012 // Last Modified On : Thu Apr 26 13:45:10 2018 13 // Update Count : 1064 14 14 // 15 15 … … 529 529 530 530 DeclarationNode * DeclarationNode::addQualifiers( DeclarationNode * q ) { 531 if ( ! q ) { return this; }// empty qualifier531 if ( ! q ) { delete q; return this; } // empty qualifier 532 532 533 533 checkSpecifiers( q ); … … 563 563 564 564 checkQualifiers( type, q->type ); 565 if ( (builtin == Zero || builtin == One) && q->type->qualifiers.val != 0 &&error.length() == 0 ) {565 if ( (builtin == Zero || builtin == One) && error.length() == 0 ) { 566 566 SemanticWarning( yylloc, Warning::BadQualifiersZeroOne, Type::QualifiersNames[ilog2( q->type->qualifiers.val )], builtinTypeNames[builtin] ); 567 // appendError( error, string( "questionable qualifiers" ) ); 567 568 } // if 568 569 addQualifiersToType( q->type, type ); -
src/driver/cfa.cc
r099e202 rbd6e226 10 10 // Created On : Tue Aug 20 13:44:49 2002 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon May 14 14:16:33201813 // Update Count : 24 412 // Last Modified On : Mon May 14 07:52:50 2018 13 // Update Count : 243 14 14 // 15 15 … … 395 395 args[nargs] = "-Wno-deprecated"; 396 396 nargs += 1; 397 if ( ! std_flag ) { // default c 11, if none specified398 args[nargs] = "-std=gnu 11";397 if ( ! std_flag ) { // default c99, if none specified 398 args[nargs] = "-std=gnu99"; 399 399 nargs += 1; 400 400 } // if -
src/libcfa/stdlib
r099e202 rbd6e226 10 10 // Created On : Thu Jan 28 17:12:35 2016 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed May 16 07:53:10201813 // Update Count : 30012 // Last Modified On : Sun May 13 23:22:23 2018 13 // Update Count : 299 14 14 // 15 15 16 16 #pragma once 17 17 18 #define __USE_ISOC11 // aligned_alloc 18 19 #include <stdlib.h> // strto*, *abs 19 20
Note: See TracChangeset
for help on using the changeset viewer.