代码搜索:cannot
找到约 7,468 项符合「cannot」的源代码
代码结果 7,468
www.eeworm.com/read/366702/2871172
c err-msg12.c
// { dg-do assemble }
// GROUPS passed error-messages
class foo {
public:
friend mutable int x ();// { dg-error "" } non-object member `x' cannot be declared `mutable'
};
www.eeworm.com/read/366702/2872841
m missing-proto-1.m
/* Test for graceful handling of missing protocol declarations. */
/* Author: Ziemowit Laski . */
/* { dg-do compile } */
@interface Foo /* { dg-error "cannot find proto
www.eeworm.com/read/366702/2872976
m bad-receiver-type.m
/* { dg-do compile } */
@interface A
- (void)test;
@end
extern int foo();
void baz()
{
[foo test]; /* { dg-warning "invalid receiver type" } */
/* { dg-warning "cannot convert to a pointe
www.eeworm.com/read/366702/2876652
f90 shape_1.f90
! { dg-do compile }
! PR 13201 we used to not give an error in those cases
subroutine foo(n)
integer, parameter :: a(n) = 1 ! { dg-error "cannot be automatic" "automatic shape" }
intege
www.eeworm.com/read/366702/2876662
f90 function_kinds_2.f90
! Tests the fix for PR33334, in which the TYPE in the function
! declaration cannot be legally accessed.
!
! Contributed by Tobias Burnus
!
module types
implicit none
type t
www.eeworm.com/read/366702/2877111
f derived_name_2.f
! { dg-do compile }
! PR 20897
! Make sure intrinsic type names do not appear as names of derived types
type integer ! { dg-error "cannot be the same as an intrinsic type" }
type real
www.eeworm.com/read/366702/2877773
f90 namelist_2.f90
! { dg-do compile }
! Check that variable with intent(in) cannot be a member of a namelist
subroutine namelist_2(x)
integer,intent(in) :: x
namelist /n/ x
read(*,n) ! { dg-error "is INTENT" "" }
www.eeworm.com/read/364434/2905713
svn-base pcx.c.svn-base
/*
* PC Paintbrush PCX (.pcx) image decoder
* Copyright (c) 2007, 2008 Ivo van Poorten
*
* This decoder does not support CGA palettes. I am unable to find samples
* and Netpbm cannot generate the
www.eeworm.com/read/357924/3010926
properties localstrings.properties
empty.noNameAttribute=No name attribute was specified
forward.forward=Exception forwarding for name {0}: {1}
forward.lookup=Cannot find global ActionForward for name {0}
forward.redirect=Exception
www.eeworm.com/read/355768/3047841
c dup2.c
#include
#include
void main(void)
{
dup2(2, 1); // stdout is handle 1 stderr is handle 2
printf("This message cannot be redircted!\n");
}